Rust Learning Roadmap
created: 2026-03-08T22:45:00+08:00updated: 2026-03-08T22:45:00+08:00topic: programming/ruststatus: evergreen#rust#roadmap#ownership#async
Rust Learning Roadmap
Stage 1: Foundations
- Install and update with
rustup. - Finish Rust Book core chapters:
ch02,ch04,ch08,ch09,ch10,ch11. - Parallel practice with Rust by Example.
Stage 2: Engineering Core
- Cargo workflow:
new,check,build,test,doc. - Error modeling with
Result,thiserror-style patterns. - Module architecture and workspace split.
Stage 3: Advanced Capabilities
- Concurrency (
std::thread, channels, sync primitives). - Async (
async/await, runtime model, task cancellation). - Unsafe and low-level memory model when necessary.
Stage 4: Production Habits
- Lint and format by default (
cargo clippy,cargo fmt). - Structured logs and tracing in services.
- CI baseline:
check + test + clippy + fmt.
Common Pitfalls
- Borrow checker conflicts caused by over-shared mutable state.
- Lifetime errors from returning references with invalid scope.
- Excessive
unwrapin non-toy code. - Async tasks calling blocking operations.
References
- Rust Book: https://doc.rust-lang.org/book/
- Rust by Example: https://doc.rust-lang.org/rust-by-example/
- Cargo Book: https://doc.rust-lang.org/cargo/
- Async Book: https://rust-lang.github.io/async-book/
- Rust API Guidelines: https://rust-lang.github.io/api-guidelines/