Ancestors

Toot

Written by movq on 2024-12-01 at 06:03

🧵 for #AdventOfCode with Java 1 on OS/2 Warp 4

[#]RetroComputing

=> View attached media

=> More informations about this toot | More toots from movq@tilde.zone

Descendants

Written by movq on 2024-12-01 at 06:06

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

Written by movq on 2024-12-07 at 10:24

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

=> View attached media

=> More informations about this toot | More toots from movq@tilde.zone

Written by movq on 2024-12-15 at 08:29

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

=> View attached media

=> More informations about this toot | More toots from movq@tilde.zone

Written by movq on 2024-12-24 at 06:26

Yay! That was cute. Plotting the machine as an SVG and then checking the wires manually actually worked. 🥳

[#]AdventOfCode

=> View attached media

=> More informations about this toot | More toots from movq@tilde.zone

Written by movq on 2024-12-24 at 06:28

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

Written by movq on 2024-12-25 at 06:47

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. 🥳🐧🎅

=> View attached media

=> More informations about this toot | More toots from movq@tilde.zone

Written by RasterInterrupt on 2024-12-15 at 18:42

@movq Weird. It's the right number of characters, just a bit wider all of a sudden.

=> View attached media

=> More informations about this toot | More toots from rasterinterrupt@oldbytes.space

Written by John May on 2024-12-24 at 09:14

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113576053006003771
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
296.12783 milliseconds
Gemini-to-HTML Time
2.925598 milliseconds

This content has been proxied by September (3851b).