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,354 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

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 Lewis Clement

Lewis Clement https://github.com/lewisclement

After many years of writing hobby projects in C++ and school- and professional project in C# and JavaScript, my new go-to language has become Rust. As a perfect blend of a low-level language with high-level syntax features it's become the language I get most joy using, and hopefully I help others find enjoyment in it too.
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 Frederic Meyer

Frederic Meyer https://github.com/corebreaker

French developper for more than 20 years in Management Systems, i was insterested in several languages and technologies like C++, Java, PHP, etc. But recently, i chose Rust in my projects for its rigor and its discipline that makes stable its use.
Avatar of Nathan West

Nathan West https://github.com/Lucretiel

I've been a developer for well over a decade now, with a mastery of C++, Python, Javascript, and (recently) Rust. For someone who's always loved C++'s emphasis on zero-cost abstraction and RAII semantics, Rust has been a basically flawless expression of my own design sensibilities. I've always had a passion for helping & teaching others, so feel free to come to me with any Rust questions you might have.
Avatar of Florian Gilcher

Florian Gilcher Yakshaves, my personal snippet space

I'm a Rustacean since 5 years and member of the Rust project. I lead the events team and contirbute to the community team. I own a Rust company. I train Rust professionally, but still got a lot to learn.
Avatar of Choon-Siang Lai

Choon-Siang Lai (note (code cslai))

Writes Javascript/ES and Python at work, discovered Rust and find it expressive despite being a system langauge. Would love to contribute back by mentoring.
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.

Hamming
medium
option type
Difference Of Squares
easy
fold
map
math
Grep
medium
conditionals
file io
utf
parsing
strings
result type
anyhow crate
Reverse String
easy
str vs string
strings
iterators
Pythagorean Triplet
medium
math
Collatz Conjecture
easy
math
option type
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 Tseng

Peter Tseng

"Break glass in case of emergency" maintainer
Avatar of Peter Goodspeed-Niklaus

Peter Goodspeed-Niklaus

definitely not an ai gone rogue
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