September 6, 2026· ~6 min readModule 11 — Smart Pointers & the Heap ## Box: the pointer to the heap So far, your values lived on the stack — with known, fixed size. **Box** moves the content to the heap; on the stack
September 6, 2026· ~6 min readModule 12 — Concurrency & Threads ## Threads: spawn, move, join A program can distribute work across multiple cores: **threads**. The start is a function call with a closure: ```rus
September 6, 2026· ~6 min readModule 13 — Capstone: a real CLI project ## CLI basics: argv, Usage, Exit A command-line tool reads its inputs from **arguments**, processes them, and exits with an exit code. `env::args()`
September 5, 2026· ~7 min readModule 1 — Installation, Cargo & Your First Program ## Why Rust & Installation Rust is a systems language that catches memory errors and data races at compile time — not at runtime with a garbage coll
September 5, 2026· ~6 min readModule 2 — Language Basics: Types, Functions, Control Flow ## Shadowing instead of Mutation Rust allows you to **redeclare** a variable — the old binding is shadowed: ```rust fn main() { let x = 5;
September 5, 2026· ~6 min readModule 3 — Ownership, Borrowing & Slices ## Ownership & the Move Every value has **exactly one owner**. When the owner goes out of scope, the value is dropped (memory freed, no garbage coll