News for hackers. Stuff that matters.
Re:Advent of Code 2021 by aquova on Saturday November 20, 2021 @07:42PM (#29293119)
It's nearly upon us once again!

I've (somewhat) participated the last few years, more as a way to learn new languages, I've never actually made it through all the puzzles yet. I got fairly close with Rust last year, before getting burned out by the end. I'm currently debating either doing it with Nim or Ruby, of which I've never written a single line of in my life, but I'm curious to try out.

Re:Advent of Code 2021 by pietroppeter on Saturday November 20, 2021 @11:33PM (#29294204)
I have discovered Nim on this (HN) site in 2018 [0] and shortly after I wrote my first lines of code thanks to advent of code (it was also my first year discovering advent of code).

I have become so affectionate of both (Nim and Advent of Code), that I always look forward to this moment of the year!

Last year I used it to test my notebook library nimib [1] (and it was first, and currently only, year that I completed the calendar). This year a nice challenge could be to try and use a different library from Nim ecosystem each day (always wanted to use Nico for this, Manim looks it could give nice results, …).

[0]: https://news.ycombinator.com/item?id=18045259

[1]: https://pietroppeter.github.io/adventofnim/2020/day11.html

Re:Advent of Code 2021 by GavinMcG on Saturday November 20, 2021 @07:55PM (#29293192)
Also hoping to do it with Nim!

Last year I'd asked for some getting started advice here: https://www.reddit.com/r/nim/comments/k22h74/advent_of_nim_2...

Re:Advent of Code 2021 by bashbjorn on Saturday November 20, 2021 @08:20PM (#29293333)
I did AoC in Nim one year and was very happy with it! I also became infatuated with Nim that year..
Re:Advent of Code 2021 by auxym on Saturday November 20, 2021 @08:31PM (#29293393)
I also learned Nim in 2018 with AoC. I found one of the best things was coming up with my own solution, then looking at other people's solutions (the Nim community usually does Advent of Nim where a bunch of people post their solution repos on the nim forum) for more idiomatic approaches or stdlib functions I didn't know about.
Re:Advent of Code 2021 by otherme123 on Sunday November 21, 2021 @07:04AM (#29295767)
Solutions made with https://github.com/zevv/npeg were surreal, I felt like a caveman watching a TV.
Re:Advent of Code 2021 by auxym on Sunday November 21, 2021 @07:17AM (#29295829)
Yes, I do distinctly remember having that same feeling when reading zevv's solutions!