FerrousPath

fn main() -> Mastery

Learn Rust, from your first line to the research frontier.

47 lessons across five levels — about 25 hours of reading and practice. Start with no Rust at all; finish able to read the papers that define the language’s semantics.

The path

Already know some Rust? Jump in at the level that matches you — each one lists what you should be able to do by the end.

  1. Level 1 · BeginnerFoundationsInstall the toolchain, learn the syntax, and meet ownership — the idea everything else rests on.0/10
  2. Level 2 · IntermediatePractitionerGenerics, traits, lifetimes, iterators, smart pointers, and the habits of idiomatic Rust.0/8
  3. Level 3 · AdvancedSystemsThreads, async, macros, unsafe, FFI, WebAssembly, embedded, and performance work.0/11
  4. Level 4 · ExpertExpertLayout, variance, drop check, Pin, atomics, lock-free structures, and executors from scratch.0/9
  5. Level 5 · DoctorateResearchType theory, borrow-checker formalisms, aliasing models, RustBelt, verification, and open problems.0/9

Run every example

Each Rust snippet has a Run button and can be edited in place. Compilation happens on the official Rust Playground.

Five levels, one path

Lessons build on each other from “what is a variable” to separation-logic proofs of the standard library.

Exercises and quizzes

Every lesson ends with practice problems and a short quiz that explains why each answer is right.

Rust in your browser

The Wasm Lab runs Rust compiled to WebAssembly next to the same algorithm in JavaScript, so you can measure the difference.

How to use this site

  1. 1. Read with the editor open. Run each example, then break it on purpose and read what the compiler says. The error messages are part of the course.
  2. 2. Do the exercises before opening the solution. Fighting the borrow checker for ten minutes teaches more than reading about it for an hour.
  3. 3. Build something at every level. Each level ends with a project or a from-scratch implementation. Do it locally with cargo.
  4. 4. From Level 4 on, read the sources. Lessons link to the Rustonomicon, the Reference, RFCs and papers. The lesson is the map; those are the territory.