Rust Exercises
by Mainmatter
Level up your Rust, one exercise at a time
You can learn only so much by reading books or watching videos. To truly master a new programming language, such as Rust, you need to practice. A lot.
That's where our courses come in: they blend theory and practice, forcing you to write code to solve tailor-made exercises while you get familiar with the theory behind them.
Go through "100 Exercises to Learn Rust". It will teach you Rust's core concepts, one exercise at a time. You'll learn about Rust's syntax, its type system, its standard library, and its ecosystem.
The course doesn't assume any prior knowledge of Rust, but it assumes you know at least another programming language. It also doesn't assume any prior knowledge of systems programming or memory management. Those topics will be covered in the course.
In other words, you'll be starting from scratch! You'll build up your Rust knowledge in small, manageable steps. By the end of the course, you will have solved ~100 exercises, enough to feel comfortable working on small to medium-sized Rust projects.
Beyond the basics: masterclasses
Learning the language is just the beginning. To become productive with Rust you need to learn how to leverage its ecosystem
That's where the masterclasses come in. They focus on a specific topic and dive deep into it, retaining the same exercise-driven approach of the beginner course.
At the moment, we offer these masterclasses:
Mainmatter: Team Up With Us for Rust!
All the courses on this website have been written by Mainmatter. We are a software consulting company that specializes in Rust. We offer consulting services, training, and mentorship to companies that want to adopt Rust or scale their usage.
Get in touch if you are on a journey to adopt Rust at your company and need support.
Meet other Rust enthusiasts at EuroRust
Mainmatter organizes EuroRust, a 2 day conference for the European Rust community. We cover all things Rust: from Rust patterns and idioms to system programming and CLI tooling, servers WASM and embedded systems. Join us in Paris in October 2025!