Track III · Distillations and essays
The Rust mental model,
distilled.
Two stacks below. Distillations are the fast-path mental model (ownership, errors, async, the five questions for any Rust file). Essays are longer pieces on the substrate around Rust (the JIT, the memory hierarchy, what a query becomes, where allocations live). For the long-form Book version of any concept, jump to the corresponding Book chapter.
Distillations.
10 pages · plain language firstEach page ends with an Agent review lens callout, what to grep for in agent-written Rust on this topic.
- 01Project shapeWhere code lives. The files you actually open.Cargo · workspaces
- 02Reading RustDecode signatures, structs, methods, every symbol.Syntax decoder
- 03Data modelThe three ways to define data, and when to use each.Structs · enums · traits
- 04ErrorsThe half of agent-written bugs that live here.Option · Result · ?
- 05OwnershipThe thing Rust is famous for, demystified.Borrow checker
- 06IteratorsLoops, closures, lazy chains.Functional pipelines
- 07ModulesHow Rust projects are organized.Visibility · crates
- 08AsyncAsync rules, footguns, and Send/Sync.Tokio · futures
- 09TestingBuilt-in tools. No framework wars.Cargo gates
- 10Compiler errorsRead errors as questions, not failures.rustc as tutor
Essays.
7 pages · with diagramsLonger pieces with SVG diagrams. Each one cross-links to the lexicon and names a JVM or C++ tradeoff honestly.
- 01What the JIT knowsThree computation curves. Where Rust sits, where the JVM still wins. SVG diagram of warm vs cold performance.Anchor · JVM and AOT
- 02Anatomy of a queryFive transformations between SQL and result, with a flowchart. Where most queries get slow.Database internals
- 03Columnar vs rowThe same twelve values, two ways. Why analytical engines all pick column layout.Memory layout
- 04Memory hierarchySix tiers from L1 to cross-region network. If L1 took one second, the network would take two years.Hardware substrate
- 05Async, illustratedAn async fn becomes a state machine. The runtime calls poll. All the rules fall out of this picture.Runtime mechanics
- 06Where allocations happenThirteen common Rust patterns marked free or one-alloc. The map for hot-path scrutiny.Performance reference
- 07Flame graphsMost of a JVM flame graph is the JVM. Most of a Rust one is your code. Drawn out side by side.Field note