Ownership as a Memory Model
Read ownership as a description of where memory lives, not a set of rules to argue with.
$72
this phase
- Open1.1
Stack, Heap, and Move
Free previewWhere a value actually lives, what a move costs at runtime, and why Copy is not an optimization.
- 1.2
The Borrow Rules
Shared versus exclusive references, aliasing XOR mutation, and the errors that mean restructure.
- 1.3
Lifetimes Are Regions
Annotations describe facts the compiler already knows, and 'static does not mean forever.
- 1.4
Choosing a Smart Pointer
Box, Rc, RefCell, and Cow, with the runtime cost of interior mutability stated out loud.
- 1.5
Cargo, Clippy, Tests
cargo check, clippy pedantic, rustfmt, workspaces, and reading a rustc error all the way down.