Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aoc2020
Posts with mentions or reviews of aoc2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-04.
-
All years, all days, everything in Haskell
I've done every year in Haskell (2015 2016 2017 2018 2019 2020 2021), and so have several other people such as /u/glguy. I don't see if /u/mstksg has anything published for 2015 but they've done 2016 2017 2018 2019 2020 2021 along with some pretty good writeups, I recommend checking those out.
-
[2020 Day 1] Performance comparison of solutions in 7 different languages
I benchmarked all 25 days in 4 languages (using GitHub Actions, which performs worse than my local dev setup, but feels more fair for reproducibility). Can't get any pretty animated output, though.
-
-🎄- 2020 Day 25 Solutions -🎄-
Rust
-
-🎄- 2020 Day 24 Solutions -🎄-
Kotlin
- [2020 Day 23 Part 2] [Haskell] Did anyone find a way to get decent performance without using a mutable data structure?
-
-🎄- 2020 Day 23 Solutions -🎄-
Rust
-
-🎄- 2020 Day 22 Solutions -🎄-
Rust
-
2020 Day 21 Solutions
Rust
-
2020 Day 20 Solutions
Rust
aoc
Posts with mentions or reviews of aoc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-07.
-
[2020 Day 1] Performance comparison of solutions in 7 different languages
It's not compiled in release mode, as seen here. /u/tom_collier2002 add the flag -C opt-level=3
-
Advent 2020 Conclusion
The solution I used to get the correct answer for day 23 was almost exactly what you described (I used an array instead of a hash table for the fast look up). However, a friend of mine used the "array as a linked list" approach that initially made no sense to me. So I spent an hour implementing it as a way to wrap my head around it. The surprising (to me) result was not only was the new solution 3x as fast as the original (11 seconds vs 35 seconds), but also used only 20% of the memory (45 MB RSS vs 236 MB RSS)!
What are some alternatives?
When comparing aoc2020 and aoc you can also consider the following projects:
AoC - my personal repo for the advent of code yearly challenge
advent-of-code - My solutions for Advent of Code
adventofcode - Solutions for Advent of Code over the years
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
aoc-2020 - My solutions for https://adventofcode.com
aoc-2020 - My solutions to Advent of Code 2020.
hac - HAC Ada Compiler - a small, quick Ada compiler fully in Ada
Advent-of-Code - Advent of Code
aoc2020apl - Advent of Code 2020 solutions in Dyalog APL
aoc2020 - Advent of Code 2020
ruby - The Ruby Programming Language
adventofcode