mainmatter/100-exercises-to-learn-rust
mainmatter/100-exercises-to-learn-rust has 9,653 GitHub stars and 2,237 forks. GitHot measured -2 in 7 days. Last checked 2026-11-09 05:32 UTC. Last push 2026-10-29.
A self-paced course to learn Rust, one exercise at a time.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- -2
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLearn Rust, one exercise at a time
You've heard about Rust, but you never had the chance to try it out?
This course is for you!
You'll learn Rust by solving 100 exercises.
You'll go from knowing nothing about Rust to being able to start
writing your own programs, one exercise at a time.
[!NOTE] This course has been written by Mainmatter.
It's one of the trainings in our portfolio of Rust workshops.
Check out our landing page if you're looking for Rust consulting or training!
Getting started
Go to rust-exercises.com and follow the instructions there to get started with the course.
Requirements
- Rust (follow instructions here).
Ifrustupis already installed on your system, runrustup update(or another appropriate command depending on how you installed Rust on your system) to make sure you're running on the latest stable version. - (Optional but recommended) An IDE with Rust autocompletion support.
We recommend one of the following:
- RustRover;
- Visual Studio Code with
the
rust-analyzerextension.
Solutions
You can find the solutions to the exercises in
the solutions branch of this repository.
License
Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the PolyForm-Noncommercial-1.0.0.
If you're planning to use this course internally at your company, please reach out for a license. We also offer this course as an instructor-led workshop.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars