o
odinpkg.dev
packages / library / aoc25

aoc25

86de085library

Advent of Code 2025 using Odin

No license · updated 7 months ago

AoC 2025 in Odin

Every year I'm trying to solve the Advent of Code using a new programming language. This year using Odin.

All solutions are in their respective directories. To solve the puzzles use:

cat puzzle.txt | odin run .
# or with debug logging enabled
cat puzzle.txt | odin run . -define:LOG_LEVEL=debug
cat puzzle.txt | odin run . -define:VERBOSE=true

To run the simple example issue:

cat test.txt | odin run .

Some days have unit tests. To run issue:

odin test .
# or with debug logging enabled
odin test . -define:ODIN_TEST_LOG_LEVEL=debug

I'm really enjoying Odin. The learning curv is not as painful compared to Zig or Rust which I tried in previous years.