🎉 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

45 Mentors

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

27,056 Students

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

92 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

A tremendous learning opportunity to explore the depth of your own knowledge

Exercism is fantastic in learning new languages but that is not the extent of it. If you are a "more experienced" programmer you may have encountered impostor syndrome: the idea you don't really know what you think you know. Exercism lets you solve problems and put them in the space of open feedback which is a tremendous learning opportunity to explore the depth of your own knowledge. Even if you have been programming in a language for awhile it is worth checking into Exercism to see where you stand with current implementation practices.

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 Zachary Dremann

Zachary Dremann https://github.com/Dr-Emann

It didn't take long for rust to become my favorite language, and I want to help others learn it, and love it like I do! I've been coding in rust since 2013, and it's been amazing seeing the language change and evolve over time, and become better and better.
Avatar of Yilkal Argaw

Yilkal Argaw https://github.com/yilkalargaw

An enthusiastic programmer who enjoys to explore various aspects of the computer industry. Worked on areas ranging from ASIC & FPGA based hardware design to Software Development in softwares like ruby, C, C++, perl,scheme, common-lisp and rust.
Avatar of Sven Steinbauer

Sven Steinbauer https://github.com/Svenito

I am a C++ and Python developer who is learning Rust. I feel that teaching is a great way to learn, so I am hoping to give back a little while learning more myself.
Avatar of Caleb Boylan

Caleb Boylan https://github.com/squidboylan

I am a student and spend most of my time hacking on personal projects. I enjoy Rust as it makes some of the more painful parts of programming easier to handle.
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 Mark Rousskov

Mark Rousskov https://github.com/Mark-Simulacrum

Rust core and infra team member; release team lead. Working on the compiler and related tooling.
Fun. Challenging. Interesting

Community-sourced Rust exercises

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

Custom Set
medium
equality
generic over type
structs
vectors
Crypto Square
medium
arrays
ascii
chars
iterators
primitive types
str vs string
transforming
strings
Collatz Conjecture
easy
math
option type
Roman Numerals
medium
loops
traits
mutability
result type
structs
Bob
easy
chars
strings
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 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!
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

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

Join the Rust Track