1
0
Fork
You've already forked adventofcode
0
My solutions to Advent of Code https://github.com/ruuda/adventofcode
  • Zig 18.7%
  • Pony 7.5%
  • Nim 7.1%
  • Haskell 6.7%
  • Rust 6.6%
  • Other 53.4%
Find a file
2025年12月12日 20:37:45 +01:00
2020 Remove input files 2022年12月29日 12:08:37 +01:00
2021 Remove input files 2022年12月29日 12:08:37 +01:00
2022 Remove input files 2022年12月29日 12:08:37 +01:00
2023 Update to latest version of RCL 2023年12月29日 13:46:23 +01:00
2024 Fail once more at trying to learn Prolog 2024年12月25日 17:27:07 +01:00
2025 Solve 2025-12a in Zig 2025年12月12日 19:28:44 +01:00
.gitignore Load a file in Idris 2024年12月07日 15:06:49 +01:00
languages.sh Update language stats 2024年12月08日 11:42:18 +01:00
LICENSE License my solutions under the GPLv3 2021年12月06日 23:02:24 +01:00
README.md Update language notes 2025年12月12日 20:37:45 +01:00

Advent of Code

My take on https://adventofcode.com/.

Personal rule

In 2023 and 2024 I used the following personal rule. To spice things up a bit, every new solution must be written in either:

  • A language that I haven’t used before in this repository.
  • A language in the bottom 33% used in this repository, by lines of code.

In 2025 I wanted to get a bit more hands-on experience with Zig, so I limited myself to Zig and RCL.

Languages used as of 2025 final day, as computed by languages.sh:

Next Language %Used %Cumulative Files Lines Verbosity
[ ] Zig 15.5 15.5 12 1249 104
[ ] RCL 7.5 23.0 13 603 46
[ ] Pony 7.0 30.1 4 565 141
[ ] Go 6.8 36.9 4 546 136
[ ] Nim 6.1 43.0 5 492 98
[ ] Haskell 6.0 49.0 7 485 69
[ ] Python 5.0 54.1 10 405 40
[ ] AWK 4.9 59.0 12 394 32
[ ] C 4.9 63.8 2 390 195
[ ] D 4.8 68.7 3 388 129
[x] Hare 4.7 73.4 3 378 126
[x] Rust 4.7 78.1 5 378 75
[x] SQL 3.2 81.3 3 256 85
[x] Clojure 3.1 84.4 3 250 83
[x] OCaml 2.9 87.2 3 231 77
[x] Nix 2.0 89.3 3 164 54
[x] Hoon 1.9 91.2 3 154 51
[x] F# 1.9 93.1 2 149 74
[x] C# 1.6 94.7 1 130 130
[x] Lua 1.5 96.1 2 117 58
[x] Racket 1.2 97.4 2 100 50
[x] Prolog 1.0 98.4 2 79 39
[x] Idris 0.9 99.2 1 70 70
[x] Unison 0.5 99.7 1 41 41
[x] Scheme 0.3 100.0 1 21 21

Some languages that I still want to try:

  • Clojure
  • D
  • F#
  • Guile, Racket
  • Hare
  • Hoon
  • Idris
  • Julia
  • Nim
  • OCaml
  • Pony
  • Prolog
  • Zig

License

GNU General Public License, version 3.