#BabelOfCode 2024
Week 12, Puzzle 12
Language: Zig
PREV WEEK: https://mastodon.social/@mcc/117436256447438940
RULES: https://mastodon.social/@mcc/113676228091546556
PUZZLE TEXT: https://adventofcode.com/2024/day/12
I've been needing to learn this one.
Zig was first introduced to me, when I was writing video games, as a good new language for video games. I kept near-missing it. Back when it first debuted, I was in a phase of being heavily into Nim; when it hit maturity, I was starting to get heavily into Rust.
Now it's a candidate for replacing Rust.
#BabelOfCode 2024
Week 11, Puzzle 17
Language: Idris
PREV WEEK: https://mastodon.social/@mcc/114582208242623432
RULES: https://mastodon.social/@mcc/113676228091546556
PUZZLE TEXT: https://adventofcode.com/2024/day/17
Now getting extreme with "puzzles out of order". Here's the problem. The AOC author *really* likes puzzles involving 2D arrays. It makes sense. They're easy to visualize as either ASCII art or PNGs. They're a rich space for "simulations". But some languages are better at them than others.
So for Idris week, I pick the "build a CPU" puzzle.
I was too busy to do AOC this month (that's https://adventofcode.com/).
So I'm thinking I'm going to do AOC 2024, *in 2025*, under the following rules:
- One challenge per week.
- I don't have to perform a challenge every week. The goal is to finish by the start of December.
- I have to do a different programming language every time.
- C, C++ and Objective-C are not eligible languages.
- If I make an honest attempt at a language and fail, I may retry in Go (but only Go) (I need to learn Go)
So. Premise #1: C/C++ have to die. C feels ergonomically like the 1970s; C++ feels ergonomically like hiding in a Java factory during a zombie apocalypse. C/C++ are walking CVE generators. C/C++ limit the software we can create through limited abstraction, and limit the software communities we can create through their complete failure, over 54 years!, to come up with a build/package ecosystem besides "you could write some shell scripts!". I do not want to write shell scripts.