AdventOfCode2020
Solutions to all 25 AoC 2020 problems in Rust :christmas_tree: (by AxlLind)
rust-by-example
Learn Rust with examples (Live code editor included) (by rust-lang)
Our great sponsors
AdventOfCode2020 | rust-by-example | |
---|---|---|
23 | 66 | |
29 | 6,645 | |
- | 2.9% | |
2.6 | 8.6 | |
3 months ago | 5 days ago | |
Rust | Handlebars | |
MIT License | Apache License 2.0 |
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.
AdventOfCode2020
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 2022-11-25.
- Aoe2 datasets
-
Zig seems great but it is still in its infancy.
I learned Zig first from the official guide at https://ziglang.org/learn/getting-started/, then from https://ziglearn.org/. I also used Zig to go through https://adventofcode.com/2020, which more about solving given tasks. At certain point you will be ready to read source code of Zig's std library in place for documentation.
-
[2021 Day 1-25][Rust] Solutions to all of this year's problems in terse and clean Rust
2020 in Rust
-
-๐- 2021 Day 23 Solutions -๐-
Link to full solution
-
-๐- 2021 Day 19 Solutions -๐-
Phew, almost 2 hours of intense coding. This was an incredibly difficult day. Got flashbacks to day 20 of last year.
-
Advent of Code (AoC) Day One
This is the seventh year puzzles, if you want to check out previous years take a look at: 2015, 2016, 2017, 2018, 2019, 2020
-
Advent of Code 2021
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
-
It's been 20 days since I started learning rust as my first language. Terrible experience. Should I move forward?
I find that the "advent of code" project always has some nice challenges and you can access the previous years like https://adventofcode.com/2020. 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.
-
What do you think is the best way to learn Rust?
https://adventofcode.com/2020 gives you well defined, deterministic problems that can be solved in a variety of ways. I'm loving it.
-
[2020 Day 9] Part 2 - What is the most efficient algorithm?
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.
rust-by-example
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 2023-07-01.
- Learning Rust for project.
-
A Beginnerโs Guide to the Solana Web3 Stack
Rust can feel a bit intimidating at first but once you start getting the hang of it, you will enjoy it a lot. It has a very well articulated documentation, which can be used as a good learning resource too. Some other resources for Rust include Rustlings and Rust-By-Example.
-
Jumping into Rust for the first time. Is the interactive Rust textbook, published by the CS department at Brown University, a good starting point?
Rust by Example
-
How to move to rust from c++?
Rust by Example: Collection of runnable examples, which many find useful to read
-
Picking Up Rust Before C With My Goals In Mind?
I more or less went straight from The Book (see also Rust by Example) to Learning Rust With Entirely Too Many Linked Lists and code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care and I've often seen PNGme suggested as the next step after that.
-
How do I return a value from match construct?
Context around the "rust by example" discussion from 2015: https://github.com/rust-lang/rust-by-example/issues/390
-
From High-Level to Systems Programming: A Practical Guide to Rust, Part 2
The Rust By Example website is another helpful resource for learning Rust. It provides a series of interactive examples that demonstrate how to use various Rust features and libraries.
-
How to learn Rust (for backend) ?
The book is great and was my original introduction to the language, but rustlings or Rust By Example might be more interesting for an interactive (and more self paced) approach.
-
Learning rust
Rust by Example: Rust by Example is a collection of runnable examples that cover a wide range of Rust concepts and standard libraries. It's a great way to see how Rust code works in practice.
-
Me: "I'm going to learn rust for Advent of code!" Also me:
Some tips for Rust: I went through Rust by Example religiously, prior to AOC. This helped a lot. And then the Too Many Lists guide when I needed to build some data structures (not lists per se, but rather figuring out how to deal with ownership in dynamic lists helped to build graph structures). That guide may be less adequate now, but these days, there's cheats.rs which looks like something that I was missing when writing then.
What are some alternatives?
When comparing AdventOfCode2020 and rust-by-example you can also consider the following projects:
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
book - The Rust Programming Language
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.
monkey - Monkey patching in Go
RustBooks - List of Rust books
easy_rust - Rust explained using easy English
reference - The Rust Reference
tour_of_rust - A tour of rust's language features
fp-core.rs - A library for functional programming in Rust
monad-challenges - A set of challenges for jump starting your understanding of monads.
crates.io - The Rust package registry