4 ms·
I did some of the Advent of Code in Algol 68 a few years back: https://github.com/addrummond/aoc_2021_algol68 https://github.com/addrummond/aoc_2021_algol68 It
by foldr 2y ago
I did some of the Advent of Code in Algol 68 a few years back: https://github.com/addrummond/aoc_2021_algol68 https://github.com/addrummond/aoc_2021_algol68
It was a surprisingly pleasant language to work with considering its age. The main annoyances were:
* Extensible arrays were fiddly to work with (which is understandable given that allocating arrays of arbitrary size barely makes sense on a 1968 computer).
* Formatted IO is weird. I never really understood how it worked and just tweaked examples till I got what I needed.
* No hashtables in the stdlib.
* Available implementations on modern hardware are not production quality.
- musicale 2y agoGreat idea - what inspired you to try this? I'm always inspired when someone (like the author of the Algol 68 compiler you used) decides to make a historically important – but obsolete and generally unavailable – software system usable and available on modern hardware.
- foldr 2y agoA few people were doing Advent of Code at work and I guess I wanted the bragging rights of doing it in the most obscure language possible. I think if I did something like this again I would do it with an old Advent of Code to remove the competitive pressure. It was fun to start with but it ended up stressing me out quite a bit towards the end (which is not ideal over the Christmas vacation).
- OskarS 2y agoNicely done! The multi-wprd identifiers with spaces in them is really freaking me out :)