🧵 for #AdventOfCode with Java 1 on OS/2 Warp 4
[#]RetroComputing
=> More informations about this toot | More toots from movq@tilde.zone
LOL, what a start.
I thought I had prepared well enough and then I noticed: Wait a minute, Java 1 does not have a library function for sorting stuff.
So, day 1 meant implementing a sorting algorithm for me. 🤦
And it’s … slow. I doubt that later puzzles will be runnable on my Pentium. 🫤
=> More informations about this toot | More toots from movq@tilde.zone
Ported day 6 and 7 from Java to C. The EXE files are 32 bit OS/2 executables. Daily reminder that I love Open Watcom v2 – such an immensely helpful tool for these retro shenanigans. 💚
The ports are pretty straightforward. Same data structures and algorithms. I re-used my AoC framework from last year.
Results (Pentium 133, OS/2 Warp 4, IBM Java 1.0.1):
FTR, these are the runtimes of the same Java programs when run on my i7-3770 from 2013 with OpenJDK 23:
day06/2 ... [00:00:00.117] Result: [1812]
day07/1 ... [00:00:00.008] Result: [28730327770375]
day07/2 ... [00:00:00.157] Result: [424977609625985]
I’ll leave it at that.
(cc @mms)
[#]AdventOfCode #RetroComputing
=> More informations about this toot | More toots from movq@tilde.zone
Well, some people didn’t like day 14, I didn’t like day 15. 😂 Very straightforward puzzle, mostly just “work” to type it out.
Also, my calendar looks wrong in the browser now. 😱
[#]AdventOfCode
=> More informations about this toot | More toots from movq@tilde.zone
Yay! That was cute. Plotting the machine as an SVG and then checking the wires manually actually worked. 🥳
[#]AdventOfCode
=> More informations about this toot | More toots from movq@tilde.zone
This was more like an actual puzzle. Staring at a thing and looking for patterns. 😃
=> More informations about this toot | More toots from movq@tilde.zone
Alrighty, #AdventOfCode 2024 is over – glad I could do the final day on OS/2 again! –, here’s my summary:
https://www.uninformativ.de/blog/postings/2024-12-25/0/POSTING-en.html
Merry Christmas. 🥳🐧🎅
=> More informations about this toot | More toots from movq@tilde.zone
@movq Weird. It's the right number of characters, just a bit wider all of a sudden.
=> More informations about this toot | More toots from rasterinterrupt@oldbytes.space
@movq I built a graph of the DAG and was >< this close to exporting it to GraphViz so I could really zoom in when I decided to try another approach. Apparently that was a mistake. 😂
=> More informations about this toot | More toots from 3j0hn@mathstodon.xyz This content has been proxied by September (3851b).Proxy Information
text/gemini