AdventOfCode2020 VS rust-by-example

Compare AdventOfCode2020 vs rust-by-example and see what are their differences.


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


Learn Rust with examples (Live code editor included) (by rust-lang)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
AdventOfCode2020 rust-by-example
12 27
22 4,173
- 1.7%
6.2 7.2
4 months ago 6 days ago
MIT License GNU General Public License v3.0 or later
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.


Posts with mentions or reviews of AdventOfCode2020. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-04.
  • It's been 20 days since I started learning rust as my first language. Terrible experience. Should I move forward?
    6 projects | | 4 Oct 2021
    I find that the "advent of code" project always has some nice challenges and you can access the previous years like They tend to get complex and/or complicated quickly, but usually the first few are easy enogh, while sill giving you a challenge to learn something new.
  • LIVE Topic Requests
    1 project | | 7 Aug 2021
  • [Slightly Off-Topic] Asking for Advice on (Rust) Entry-Level Jobs
    1 project | | 10 Jul 2021
    Hello, everyone! I started learning Rust and Haskell earlier this year; I'm still a beginner, but I'm comfortable with the basics of both languages, at this point. Although I don't have experience with many languages, I can confidently say that I enjoy Rust and Haskell far more than any other language I've tried. Being fairly new to software development, I don't have much to show for my current skill level, but I'll try to give some context. On my GitHub profile, mohamed-abdelnour, I have a small handful of PRs along with my solutions to AoC 2020. Ironically, solving AoC 2020 is how I started leaning both Rust and Haskell (and most of what I know about programming, if I'm honest), so the code I'm sharing now is (hopefully) some of the worst I'll ever write! Other than that, I'm slowly going through Project Euler problems, and I'm almost done with a certain company's secret "programming" challenge (if you know, you know). I don't have any previous work experience in software development nor have I worked on any "real projects" before.
  • What do you think is the best way to learn Rust?
    7 projects | | 19 May 2021 gives you well defined, deterministic problems that can be solved in a variety of ways. I'm loving it.
  • Discussion Thread
    1 project | | 13 Mar 2021
    Functional programming: The best way to really learn functional programming is to learn Haskell and then use it to write a bunch of programs. I recommend as a way to give you a list of challenges to solve with Haskell. Haskell really forces a functional programming mindset so using it gives you a much better understanding of functional programming.
  • [2020 Day 9] Part 2 - What is the most efficient algorithm?
    2 projects | | 26 Jan 2021
    One important thing to note is that all numbers in the input are positive. Since they are all positive it can be solved quite easily in linear time, O(n), and O(1) memory complexity. See algorithm here. I used this algorithm in my Rust solution.
  • 2020 Day 20 Solutions
    1 project | | 22 Dec 2020
    Link to solution (359/116)
  • [2020, Day 22, Part 2] Is there a way to speed up the state checking?
    2 projects | | 22 Dec 2020
    A solution that will work with very high probability (which I used here) is to store a hashset of hashes, HashSet. E.g you compute a hash for the two queues and see if that hash has already been seen. There is a very, very, small probability of a hash collision, but in practice this works.
  • 2020 Day 21 Solutions
    2 projects | | 20 Dec 2020
    For part one, I compute the intersection of ingredients between all lists containing a certain allergen. Then it was the same process as day 16, whereby you eliminate possibilities by iteratively looking at what allergen only has one possible ingredient it can be. Once again, this leads to a unique solution in our input.
    2 projects | | 20 Dec 2020
    Link to solution (1323/898)


Posts with mentions or reviews of rust-by-example. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-20.

What are some alternatives?

When comparing AdventOfCode2020 and rust-by-example you can also consider the following projects:

zero-to-production - Code to follow along the "Zero To Production" book on API development in Rust.

book - The Rust Programming Language

easy_rust - Rust explained using easy English

tour_of_rust - A tour of rust's language features

Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!