

1·
7 hours agoNim!
It is easy to write and read like python, but speed is matching C/Rust and it’s also statically typed.
Jack of all trades, sort of…


Nim!
It is easy to write and read like python, but speed is matching C/Rust and it’s also statically typed.
Jack of all trades, sort of…
Oh, that just reminded me something. I should try this year to make some AoC visualizations in Tic-80 with my own Nim bindings. I hope there will be easier days, where I can spare more time on it.
Ah, it’s that time of the year again 🎄⭐️
I’ll be using Nim this year, same as previous years.
And maybe all the next years? Unless I find a language that is as good or better (it’s hard :).
My solutions are not always elegant, but I try to make them short and easy to read.
Good Luck to everyone and don’t forget to have fun!
Nim
Probably one of the easiest first days in AOC history.
Solved with HashTable -> sorting -> sequence
Runtime: 280 μs
Full solution at Codeberg: solution.nim