Skip to content
RustLearn

The Rust Learning Roadmap

A week-by-week plan through the twenty modules of this course, plus what comes after them. The checkboxes persist in your browser — tick them as you go.

Rust rewards depth over speed. This roadmap is written for roughly twelve weeks of evenings; the pace table below scales it to whatever time you actually have. What matters is not the calendar — it is that you do not move past a stage while its ideas are still fuzzy, because everything downstream assumes them.

Choose your pace

TrackModules / weekFinish inBest for
Intensive (full-time)8–10~2.5 weeksBetween jobs, bootcamp, or a dedicated sprint
Steady (evenings)3–4~6 weeksWorking developers with an hour most nights
Relaxed (weekends)1–2~4 monthsLearning alongside a demanding job

Whatever you choose, keep it regular. Rust's difficulty is cumulative, and a fortnight's gap after module 05 costs more than a fortnight.

Prerequisites

You need fluency in one other programming language — TypeScript, Python, Java, Go, C# all qualify. Specifically, you should already be comfortable with:

  • functions, parameters, return values, and scope;
  • arrays/lists, maps/dictionaries, and iterating over them;
  • reading an error message and forming a hypothesis about it;
  • using a terminal to run a command in a directory.

You do not need C or C++ experience, and you do not need to know what the stack and the heap are. Module 02 gives you the minimum and module 04 gives you the rest.

  • I can write, run and debug a small program in at least one other language
  • I have a terminal I am comfortable in
  • I have read how this course works

Stage 1 — Foundations · Weeks 1–3

Modules 01 · 02 · 03 · 04 · 05

Learning goals

  • Install and manage the toolchain with rustup; drive projects with Cargo
  • Understand the compilation model and why there is no runtime
  • Use immutability by default, shadowing, constants, scalars and compound types
  • Write expression-oriented control flow — if, match and loops that produce values
  • State the three ownership rules and trace moves, copies and drops through real code
  • Satisfy the borrow checker: shared vs mutable references, NLL, and slices

The stage that matters

Modules 04 and 05 are not "two more modules" — they are the language. Budget more time for them than the page counts suggest, and do not move on while E0382 and E0502 still feel arbitrary. If you take one thing from this roadmap: re-read module 04 a second time before starting module 06. Nearly everyone who bounces off Rust bounced here.

Practice

  • cargo new, cargo run, cargo test, cargo clippy are muscle memory
  • I can predict, for any snippet, whether a value moved or was copied
  • I can explain a move to another developer without saying "the compiler complains"
  • I have deliberately caused E0382 and E0502 and fixed each three different ways
  • I have written a function taking &str and one taking &mut Vec<T>
  • Build: a command-line temperature/unit converter that parses arguments

Stage 2 — Building Blocks · Weeks 4–6

Modules 06 · 07 · 08 · 09 · 10

Learning goals

  • Model a domain with structs, impl blocks, associated functions and builders
  • Use enums to make illegal states unrepresentable; destructure with exhaustive match
  • Replace null and exceptions with Option and Result, ?, and custom error types
  • Work fluently with Vec, HashMap, HashSet, String and &str — including UTF-8
  • Lay out a real project: modules, visibility, use, workspaces, dependencies, docs

Practice

  • I reach for an enum before a bool + Option pair
  • I can write a custom error type with From conversions and use ? across them
  • I know when String is right and when &str is right, without guessing
  • I have split a project across several files and modules and controlled its public API
  • I have written doc comments with examples that run as tests
  • Build: a note/task CLI that persists to a file and handles every failure as a Result

Stage 3 — Abstraction · Weeks 7–9

Modules 11 · 12 · 13 · 14 · 15

Learning goals

  • Write generic code with trait bounds and understand why it costs nothing at runtime
  • Define traits, default methods and blanket impls; choose static vs dynamic dispatch
  • Read and write lifetime annotations, and know when elision handles it for you
  • Use closures and iterator pipelines idiomatically — and know why they compile away
  • Reach for Box, Rc, RefCell and Weak when single ownership is not enough

The second wall

Lifetimes (module 13) are the second place people stall, and for a different reason than ownership: the syntax looks like it is doing something at runtime. It is not. A lifetime annotation adds no code — it is a claim about validity that the compiler checks. Read the analogy in that module before the syntax.

Practice

  • I can write a generic function with two trait bounds and explain each one
  • I can say why impl Trait and dyn Trait are different and choose deliberately
  • I have written a struct that holds a reference and annotated it correctly
  • I have replaced a hand-written loop with an iterator chain — and vice versa, knowingly
  • I can explain when Rc<RefCell<T>> is right and when it is a design smell
  • Build: a small library crate with a trait-based plugin interface and full docs

Stage 4 — Mastery · Weeks 10–12

Modules 16 · 17 · 18 · 19 · 20

Learning goals

  • Test properly: unit, integration and doc tests, plus clippy, fmt, benchmarks and CI
  • Use threads, channels and Arc<Mutex<T>>; understand Send and Sync
  • Write async Rust on Tokio, and know when async is the wrong tool
  • Write macro_rules! macros; use unsafe responsibly; call C across the FFI boundary
  • Design idiomatic APIs, profile before optimising, and finish four capstone projects

Practice

  • My projects have a CI workflow running fmt --check, clippy -D warnings and test
  • I have written a multi-threaded program and hit — then fixed — a Send/Sync error
  • I can explain to a colleague why async is not "faster threads"
  • I have written a macro_rules! macro that takes a repeating pattern
  • I have profiled a program and made it measurably faster with evidence
  • Build: all four capstones — minigrep, task manager, threaded web server, async crawler

After module 20 — where this leads

The course ends where real Rust begins. Pick the direction that matches what you want to build:

DirectionStart withTypical crates
Backend servicesAn HTTP API with a database and real error handlingaxum, tokio, sqlx, serde, tracing
CLI toolingRewrite a script you already rely onclap, anyhow, indicatif, serde_json
WebAssemblyShip a Rust module into a web appwasm-bindgen, wasm-pack
Systems & embeddedA device driver or a no_std projectembedded-hal, defmt
Data & performancePort a hot path out of Pythonrayon, polars, criterion
Game developmentA small 2D game loopbevy, macroquad

Habits that separate a Rust developer from someone who has finished a Rust course

  • I read the compiler's help: and note: lines before searching the web
  • I run cargo clippy before I commit, and I read what it says
  • I write the doc example first when designing a public API
  • I reach for borrowing before .clone(), and I know why my .clone()s are there
  • I have read the source of a crate I depend on
  • I have contributed a fix — even a documentation fix — to a crate I use

Reference shelf

Once you have finished the course, these are the four things worth having open:

  • The standard library docs (std) — searchable, exhaustive, and full of examples that run. Get to it offline with rustup doc --std.
  • rustc --explain E0382 — the full essay behind any error code, in your terminal.
  • The Rust Reference and the Nomicon — for when you need the exact rule, and for when you are writing unsafe.
  • cargo doc --open — your own project's docs, which is the fastest way to notice an API you would not want to use.

One last thing

The fastest learners on this path are not the ones who read fastest. They are the ones who, when the compiler rejects something, stop and ask what does this tell me about who owns this data — and then fix the design rather than the symptom. That habit is the whole curriculum in a sentence.

Start where you are: Module 01 — Setup, Cargo & Hello World.