Advent of Code 2021

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • adventofcode

    Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020 and 2021 in Scala (by sim642)

  • adventlang

    🎅 A programming language (+ code playground) for Advent of Code.

    Some create a language just for AoC, for example: https://github.com/healeycodes/adventlang

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Advent_of_Code_in_Pascal

    My solutions to the Advent of Code, in Free Pascal

    I'll balance that out for you, I do my programming in Pascal. I'm going through the old ones as well, hoping to back-fill in answers to all of them.

    https://github.com/mikewarot/Advent_of_Code_in_Pascal

  • advent-of-code-2021

    🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021

    Last year I solved all puzzles in less than 1 second. This year, for lack of a better goal, I'll be trying to do the same: https://github.com/timvisee/advent-of-code-2021

  • AdventOfCode2020

    Solutions to all 25 AoC 2020 problems in Rust :christmas_tree: With relatively high global leaderboard placements!

    It actually was on day 19, it's just that puzzle #13 was the 19th puzzle given out [1]. I'm not sure why the numbers didn't come in order last year.

    [1]: https://adventofcode.com/2020 shows the number order

  • advent-of-code-2021

    Advent of Code 2021 in TypeScript. (by boutell)

    Tackling it in TypeScript this year, which is interesting because I haven't used TypeScript before (I'm experienced with JavaScript). This is a good way to really drill it into my fingertips.

    If you care to follow along:

    https://github.com/boutell/advent-of-code-2021

  • aocrunner

    Advent of Code runner

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • aoc2021

    Advent of code 2021 (by melted)

    I'm also doing it in Typescript this year, but I'm doing it in the browser to get a little modern web experience (I'm a C++ developer by day). I have a pretty nifty setup with Snowpack that will rebuild it and refresh the browser automatically when I save, and a little scaffolding for making a widget for a problem, I don't use a framework: https://github.com/melted/aoc2021.

  • ws-challenges

    Solutions for Project Euler, Advent of Code, and Rosetta Code in Whitespace

  • coalton

    Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

    Type annotations, as in any good ML, are optional (except when there are polymorphism bugs, like one found during AoC!). Unlike Haskell, purity isn't demanded.

    There's a small contest [2] with all sorts of prizes for doing AoC in Coalton and contributing back to the project through tutorials, PRs, and bug reports.

    [0] They hang out on Discord https://discord.gg/cPb6Bc4xAH

    [1] https://github.com/coalton-lang/coalton

    [2] https://coalton-lang.github.io/20211129-aoc-contest/

  • advent-of-code

    [Learning] My Advent of Code Solutions (by xavdid)

    AoC is one of my favorite events of the year. I find the puzzles to be much more approachable than things like Project Euler. I regularly credit my yearly participation for making me a better programmer.

    I also do a daily writeup of my solution, which helps make sure I understand the problem and help others who are learning. I found it super rewarding last year, so I'm doing it again this year. They're in my GH repo. Here's today's: https://github.com/xavdid/advent-of-code/tree/main/solutions...

    My big tip is that you probably don't need to worry about competing for the leaderboard (unless you really want to). Go at your own pace, don't stay up weird hours, and take a break.

  • aoc

    Advent of Code 2020 Solutions (by linus)

    While I agree four minutes is very quick, if you take into account that no side fits with more than one other side, and that the sides (#, .) may just as well be interpreted as binary numbers, it becomes an issue of parsing, mostly, and then matching numbers.

    I remember being flabbergasted at first, and then realizing the above. My solution is here:

    https://github.com/linus/aoc/blob/main/2020/js/day-20/app.js

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts