What lives here
Fifty short lessons, one unbroken chain: every page ends with a link to the next one, so you can read the course start to finish without ever wondering where to click. Each lesson teaches one idea with short Rust examples, from the first program to threads and servers:
- Start here: What is Rust and where it runs — then follow the chain through lesson 50.
- Language core, lessons 2-20: install, cargo, first program, variables, numbers, strings, booleans, tuples, arrays, vectors, slices, conditions, match, loops, ownership, borrowing, lifetimes, functions, structs.
- Types and tooling, lessons 21-33: enums, advanced match, Option, Result, strings, vectors, maps, modules, crates, testing, error handling, traits, generics.
- Concurrency and practice, lessons 34-46: bounds, closures, iterators, smart pointers, threads, mutex, files, CLI args, environment, diagnostics, time, parsing, TCP.
- Finish, lessons 47-50: two capstones (wordfreq CLI and tiny HTTP server), modern Rust tour, and the hero roadmap with every lesson on one page.
How to use this course
Type every example, do not just read it. Compile each snippet with
cargo before moving on - the course assumes
your hands remember lesson 4 by the time lesson 16 arrives.
Two rules carry the whole course: the borrow checker is always
right, and match every
Result - never unwrap in real code.