from first concept to confident practice
Rust
Learn safe systems programming with ownership, strong types, practical exercises, and visual workflows.
About this track
Build Rust fundamentals from first compile to reusable module design. You’ll learn ownership, borrowing, vectors, strings and slices, pattern matching with Option, Result-based error handling, traits, iterators, hash maps, lifetimes, practical CLI/data/concurrency workflows, and testing with Cargo. Every lesson includes quizzes, practical exercises, and interactive workflow labs.
- No prior Rust experience required.
- A modern browser with JavaScript enabled.
- A network connection is needed to run Rust exercises on Wandbox.
Your path
0 of 17 lessons · 0%Restoring your progress…
- Unit 1 · 0/3 lessons
Getting started
Run Rust, use variables, and understand ownership basics. Badge: First compile
- 0x001Run your first Rust programPrint output and meet Rust’s compile-then-run workflow. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x102Declare values and mutate safelyUse `let`, `mut`, and basic scalar types. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x203Understand ownership and borrowingLearn Rust’s core memory-safety model. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- Unit 2 · 0/3 lessons
Control flow and collections
Branch, loop, and process text and values safely. Badge: Flow stabilizer
- 0x304Branch and loop over vectorsUse `if`, `match`, loops, and vectors. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x405Work with String and string slicesUnderstand `String`, `&str`, ownership, and borrowing in text processing. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x506Pattern matching with Option and enumsUse `match` and `if let` to handle optional values safely. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- Unit 3 · 0/7 lessons
Functions and type modeling
Model domains with types, handle errors, reason about lifetimes, and build reusable logic. Badge: Type architect
- 0x607Write functions and handle errors with ResultUse typed function signatures and explicit error handling. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x708Model domain data with structs and enumsBuild custom types and represent state clearly. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x809Use traits and genericsWrite reusable behavior with trait bounds. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x9010Iterators and HashMap fundamentalsTransform collections idiomatically and count frequencies. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0xA011Modules, Cargo, and testing workflowOrganize code into modules and validate behavior with tests. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0xB012Lifetimes and borrow-checker reasoningUnderstand reference lifetimes and when annotations are required. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0xC013Result propagation and the ? operatorHandle fallible steps clearly with `Result` and `?`. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- Unit 4 · 0/4 lessons
Practical applications
Apply Rust fundamentals to production-style CLI, data, and worker workflows. Badge: Production ready
- 0xD014Build a practical CLI log inspectorProcess command-line input and filter operational logs. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0xE015Model structured data and serialization boundariesUse structs/enums to represent payloads and records safely. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0xF016Design a worker pipeline with channelsCoordinate producers and workers using message passing. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
- 0x10017Rust rewrite hype, pop culture, and AI adoptionUnderstand “Rewrite it in Rust” culture and when rewrites are actually worth it. 18 min 0/1 exercises solved 18 min 0/1 exercises solved