knaxuslearn · build · ship

Roadmaps / Rust

Programming Languages · 16 study weeks · 4 phases

Rust Roadmap Beta

Rust makes you earn every line, and then refuses to let a whole class of bugs in. It does not remove the rest: a deadlock, a lost write, a cancelled future or a careless unsafe block still ships. These 16 study weeks teach ownership, safe and unsafe code, async services, concurrency and the supply chain around a Rust project. You build one system, quillbox, a small log-structured key-value store with a network server, and every phase adds a checkpoint to it. At 8 hours a week the core path is 128 hours and takes 16 weeks. At 12 hours a week it takes about 11 weeks, and at 16 hours a week about 8 weeks. At the end you can say where Rust earns its cost and where it does not, with numbers.

This roadmap is in beta and keeps improving over time. If you spot an error, please email your suggestions and corrections to [email protected].

Read first

  1. Phase 1 · Study weeks 1-4

    Ownership, safe code and a small unsafe module

    This phase makes the first checkpoint possible: a core that the compiler, the tests and Miri all accept.

    • 5 repos
    • Milestone checkpoint
    1. Study week 1Ownership, borrowing and lifetimes8 h
    2. Study week 2Traits and generics8 h
    3. Study week 3What unsafe allows and the rules it still has8 h
    4. Study week 4Property tests8 h
  2. Phase 2 · Study weeks 5-8

    Async, cancellation and the server

    This phase makes the second checkpoint possible: a server that frames requests, bounds its work and survives a cancelled future.

    • 3 repos
    • Milestone checkpoint
    1. Study week 5async and await8 h
    2. Study week 6Framing and protocol design8 h
    3. Study week 7Cancellation safety8 h
    4. Study week 8Tracing with tracing8 h
  3. Phase 3 · Study weeks 9-12

    Concurrency, durability and performance

    This phase makes the third checkpoint possible: a store that survives a kill and shows how fast it is.

    • 3 repos
    • Milestone checkpoint
    1. Study week 9Send and Sync8 h
    2. Study week 10Model checking with loom8 h
    3. Study week 11The append log8 h
    4. Study week 12Benchmarks with Criterion8 h
  4. Phase 4 · Study weeks 13-16

    Supply chain, interop and the decision to adopt

    This phase makes the last checkpoint possible: a project you can ship, call from another language and defend to a team.

    • 5 repos
    • Milestone checkpoint
    1. Study week 13Cargo workspaces and features8 h
    2. Study week 14cargo-deny and advisories8 h
    3. Study week 15A C ABI with cbindgen8 h
    4. Study week 16Release builds and SBOMs8 h

Also in this roadmap