https://github.com/ruuda/adventofcode
My solutions to Advent of Code
https://github.com/ruuda/adventofcode
Last synced: 4 months ago
JSON representation
My solutions to Advent of Code
- Host: GitHub
- URL: https://github.com/ruuda/adventofcode
- Owner: ruuda
- License: gpl-3.0
- Created: 2021-12-08T22:19:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-12-05T07:44:22.000Z (6 months ago)
- Last Synced: 2025-12-08T15:30:58.696Z (6 months ago)
- Language: Zig
- Homepage:
- Size: 469 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code
My take on .
## 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:
* [x] Clojure
* [x] D
* [x] F#
* [ ] Guile, Racket
* [x] Hare
* [x] Hoon
* [x] Idris
* [ ] Julia
* [x] Nim
* [x] OCaml
* [x] Pony
* [ ] Prolog
* [x] Zig
## License
[GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.html), version 3.