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

30 Mentors

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

10,072 Students

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

88 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

The reviews are incredibly helpful because they help me see things that I missed, learn about new ways and sometimes interesting discussions that can add a fun twist to maybe a simple problem.

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 weihanglo

weihanglo https://github.com/weihanglo

Aim to use Rust and WebAssembly in my daily routines. Love Rust because of its passionate and welcoming community.
Avatar of Karthik Deepak Natraj

Karthik Deepak Natraj https://github.com/karbfg10k

I love Rust and C and use them at my day job in automotive. I work with Embedded software but I'm also reasonably familiar with systems programming as well
Avatar of David Carroll

David Carroll https://github.com/axesilo

My primary professional language is Python, which I like for its flexibility and expressiveness, but I also enjoy using Rust because of its power and high-quality tooling. I'm a former CS professor.
Avatar of Maira Kodama

Maira Kodama https://github.com/mairandomness

Math teacher turned programmer. Fell in love with Rust while listening to Steve Klabnik talk about its design choices. Eternally grateful for helpful compiler messages. Not tall enough to write multi-threaded code.
Avatar of Michael Morehouse

Michael Morehouse https://github.com/yawpitch

Long-term programmer and pipline developer in the Visual Effects (VFX) community; recently decided it was time to make a change in life and become a polyglot; while Python remains my industry's go-to language, Rust, Go, and others are nipping at the heals, and I've never learned better than by helping others lean.
Avatar of Sam Scott

Sam Scott https://github.com/samscott89

For me, Rust and Cryptography has been a perfect match. As I grow my own company, I plan on sticking with Rust and want to help encourage people to pick it up.
Fun. Challenging. Interesting

Community-sourced Rust exercises

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

ETL

medium
btree

Allergies

medium
bitwise probably
enum
filter
struct
vectors

Spiral Matrix

medium
matrix
nested structures

Collatz Conjecture

easy
option
math

Variable Length Quantity

medium
bitwise
encodings
result
slices

Say

medium
modulus
string concatenation
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 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 Goodspeed-Niklaus

Peter Goodspeed-Niklaus

definitely not an ai gone rogue
Avatar of Peter Tseng

Peter Tseng

"Break glass in case of emergency" maintainer

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

Join the Rust Track