🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉

Rust

Join the Rust Track
Rust is a compiled programming language designed for speed, concurrency, and memory safety. Rust programs can run almost anywhere, from low-power embedded devices to web servers.
Join the Rust Track
Track mentors

48 Mentors

Our mentors are friendly, experienced Rust developers who will help teach you new techniques and tricks.
Track students

30,297 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

93 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Rust

pub fn hello() -> &'static str {
    "Hello, World!"
}

Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. It aims to bring modern language design and an advanced type system to systems programming. Rust does not use a garbage collector, using advanced static analysis to provide deterministic drops instead. It accomplishes this via the concept of ownership.

Rust's core and the standard library are intentionally minimal; batteries are not included. Rustaceans are instead encouraged to add libraries, called crates, to the language by sharing them on crates.io.

Rust is most frequently used for applications where speed, performance and stability are essential. The Awesome Rust list collects examples of Rust projects, which include CLI tools, ORMs, operating systems and games. Regardless of what you build in Rust, it will be fast and memory safe!

The home page for Rust is rust-lang.org. Rust has excellent documentation at rust-lang.org/documentation.html. Newcomers should start with "The Book" located at doc.rust-lang.org/book/.

Join the Rust track

Exercism is a great website

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

Relaxed. Encouraging. Supportive.

Meet the Rust Track mentors

Once you join the Rust language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Nithin Reddy

Nithin Reddy https://github.com/rednithin

An avid believer of the Feynman technique. Currently a professional trying to learn Rust and also teach it at the same time.
Avatar of Thayne McCombs

Thayne McCombs https://github.com/tmccombs

Although rust does have a steeper learning curve than many other languages, once you understand it, it is a truly incredible language.
Avatar of Alex Kavanagh

Alex Kavanagh https://github.com/ajkavanagh

Rust is a refreshing alternative to C, C++ and golang. I find it elegant, relatively concise and very interesting to use. I've not used in professionally, yet, but have many years of C, JavaScript and Python under my belt.
Avatar of Jon Gjengset

Jon Gjengset Website

I'm PhD student at MIT CSAIL where I work on a research database written in Rust. I also do regular Rust live-coding streams.
Avatar of Nils Haberstroh

Nils Haberstroh https://daredevdiary.com

To me programming is like a treat. And Rust :rust: is the kinder surprise. That brings something exciting, something to play with and the borrow checker.
Avatar of Brooks J Rady

Brooks J Rady thelostlambda.xyz

Rust manages to meld low-level programming with high-level abstractions without any of the tradeoffs. Here to help in the inaugural battle against the borrow-checker and to foster the inner Rustacean in all of us.
Fun. Challenging. Interesting

Community-sourced Rust exercises

These are a few of the 93 exercises on the Rust track. You can see all the exercises here.

Bowling
medium
goofy bowling logic
result type
structs
Collatz Conjecture
easy
math
option type
Gigasecond
easy
crates
Hello World
easy
strings
test driven development
Space Age
medium
from trait
trait implementation
traits
Spiral Matrix
medium
matrix
nested structures
Passionate. Knowledgeable. Creative.

Meet the Rust Track maintainers

The Rust Maintainers are the brains behind the Rust Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Peter Goodspeed-Niklaus

Peter Goodspeed-Niklaus

definitely not an ai gone rogue
Avatar of Meade Kincke

Meade Kincke Code Artistry

I love real-world, usable examples. I'm a huge fan of being able to help others to make something work how it should with maximum performance. I especially love Rust and have written a tool called BrewStillery in it and GTK-rs.
Avatar of Peter Tseng

Peter Tseng

"Break glass in case of emergency" maintainer
Avatar of Oleksii Filonenko

Oleksii Filonenko

I love Rust for being strict, performant, ergonomic and enjoyable at the same time. After being a mentor for some time, I decided to be a maintainer. Looking forward to it!

Get started with the Rust track. As with everything on Exercism, it's 100% free!

Join the Rust Track