Rust course

A practical course that goes from installing the toolchain to three capstone projects. Every lesson is a manual: a complete program, the command that builds it, and the output it printed on the machine described at the end of the lesson. The course is written and published part by part, and the tree below lists the lessons that are ready to read.

Ownership and borrowing come first, before traits and generics, because the borrow checker shapes every other decision in Rust. Text, collections and iterators follow, then errors, tests and debugging, smart pointers, the build system and concurrency. The last part builds a JSON parser, a task tracker and a small search index, one lesson at a time.

Start with What Rust is and where it runs. For a short description of the language read Rust basics, and if you write C++ see Rust and C++ side by side.

Lessons

Click a part of the course to open or close its lessons.