done by: milan@aleksic.dev
Using: zig v0.11.0
Note: I am a Zig newbie & using AoC to learn as-I-go
➜ ./run.sh
...
# no dependencies beyond system
➜ otool -L zig-out/bin/adventofcode2023
zig-out/bin/adventofcode2023:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.0.0)
➜ mls zig-out/bin/adventofcode2023
.rwxr-xr-x milan staff 233 KB Wed Dec 6 12:55:08 2023 zig-out/bin/adventofcode2023
- stable naming of functions and tests
- multi-line test source instead of manual
append
calls -
switch places for equals comparison in tests, figure out the comptime error cause(ziglang/zig#4437) - named structs as function results in day2
- use test allocator in prod code as arg to verify no leaks occur
- try different allocators (arena maybe?)
- day 8, part 2 (decision to use LCM)
- day 18, part 2 (Pick's theorem and Shoelace formula)