Loading

from first concept to confident practice

Rust

Learn safe systems programming with ownership, strong types, practical exercises, and visual workflows.

Start learning 17 lessons · first lesson about 18 min · free · no account needed
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.

Before you start
  • No prior Rust experience required.
  • A modern browser with JavaScript enabled.
  • A network connection is needed to run Rust exercises on Wandbox.
Loading progress…
  1. Unit 1 · 0/3 lessons

    Getting started

    Run Rust, use variables, and understand ownership basics. Badge: First compile

    1. 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
    2. 0x102Declare values and mutate safelyUse `let`, `mut`, and basic scalar types. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    3. 0x203Understand ownership and borrowingLearn Rust’s core memory-safety model. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
  2. Unit 2 · 0/3 lessons

    Control flow and collections

    Branch, loop, and process text and values safely. Badge: Flow stabilizer

    1. 0x304Branch and loop over vectorsUse `if`, `match`, loops, and vectors. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    2. 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
    3. 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
  3. 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

    1. 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
    2. 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
    3. 0x809Use traits and genericsWrite reusable behavior with trait bounds. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    4. 0x9010Iterators and HashMap fundamentalsTransform collections idiomatically and count frequencies. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    5. 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
    6. 0xB012Lifetimes and borrow-checker reasoningUnderstand reference lifetimes and when annotations are required. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    7. 0xC013Result propagation and the ? operatorHandle fallible steps clearly with `Result` and `?`. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
  4. Unit 4 · 0/4 lessons

    Practical applications

    Apply Rust fundamentals to production-style CLI, data, and worker workflows. Badge: Production ready

    1. 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
    2. 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
    3. 0xF016Design a worker pipeline with channelsCoordinate producers and workers using message passing. 18 min 0/1 exercises solved 18 min 0/1 exercises solved
    4. 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