Rust is a statically typed, memory-safe systems language that guarantees thread safety without a garbage collector. This roadmap builds from first principles — syntax, then ownership and borrowing, abstractions, and on to concurrency, async, and the ecosystem — one small, gradual step at a time.
rustc (or cargo run), and treat the index as a fast-forward, not a reference manual.
| # | RUST | Topic | Description |
|---|---|---|---|
| PHASE 1: FOUNDATIONS | |||
| 01 | Overview | Rust's purpose, safety model, and ecosystem. | |
| 02 | Setup & Toolchain | Install rustup, Cargo, and your first program. | |
| 03 | Syntax & Expressions | Statements, expressions, comments, keywords. | |
| 04 | Scalar Types & Variables | Integers, floats, bool, char, inference, casting. | |
| 05 | Composite Types | Tuples, arrays, structs, and enums. | |
| 06 | Strings & Text | &str vs String, formatting, UTF-8. | |
| PHASE 2: OWNERSHIP & FUNCTIONS | |||
| 07 | Ownership & Borrowing | Moves, references, and the borrow checker. | |
| 08 | Lifetimes | Reference validity and elision. | |
| 09 | Functions & Closures | fn, return values, and closures. | |
| 10 | Collections | Vec, HashMap, HashSet, and slices. | |
| 11 | Control Flow | if, match, and loops. | |
| PHASE 3: ABSTRACTION & ERRORS | |||
| 12 | Traits & Generics | Traits, generics, and trait objects. | |
| 13 | Modules & Crates | mod, use, pub, and code organization. | |
| 14 | Error Handling | Option, Result, and the ? operator. | |
| 15 | Iterators & Closures | Lazy pipelines and combinators. | |
| 16 | Smart Pointers | Box, Rc/Arc, and RefCell. | |
| PHASE 4: PROFESSIONAL | |||
| 17 | Testing & Documentation | #[test], integration tests, doc-tests. | |
| 18 | File I/O | Reading and writing files and JSON. | |
| 19 | Packages & crates.io | Cargo packages and dependencies. | |
| 20 | Frameworks & Ecosystem | Web, async, and embedded crates. | |
| 21 | Concurrency | Threads, channels, and sync primitives. | |
| 22 | Async & Futures | async/await and the tokio runtime. | |
| PHASE 5: PRACTICE & REFERENCE | |||
| 23 | Lab Examples | Single-file practice demos. | |
| 24 | Study Projects | Composed mini-projects. | |
| 25 | References & Tools | Playgrounds, docs, courses, samples. | |
For the full categorized table — online Rust playgrounds, official documentation, courses, and sample codebases — see the References & Tools page.