Solving Advent of Code at Compile Time with Rust Macros
14 Dec, 2024
IntroProducing good software is difficult. Writing tests, reasoning about unintended effects, tedious considerations about time vs memory trade-offs. The perfect program is one that never runs at all. No trade-offs, no bugs, no worries. But what if we go further, what if we could get our answer before the program even finishes compiling?
This year I want to write a perfect program to solve an advent of code challenge. If a perfect program can exist, it must be written in Rust. Lets ...
Read more at doublefree.bearblog.dev