Skip to content

Revision · How the Advanced Path Works

Orientation sets up the whole book: two Rust paths read in order, one app you take to production, and an honest map of where Rust genuinely earns its place. The throughline is the question the rest of the book keeps answering — once the code compiles, what does it take to run it for real users?

  • Two paths, read in order — the base “Project-First” playbook teaches the language through many small projects; this advanced path teaches the system around the language by taking one app to production. You leave the first knowing “I can write Rust,” the second knowing “I can ship Rust.”
  • One app: quill — a deliberately boring blog that grows an AI writing assistant, so all your attention goes to the engineering, not the domain. Each of Parts 1–7 wraps another layer of production reality (backend, frontend, AI, infra, observability, performance, ship) around the same core.
  • The reference crate is the answer key, not the assignment — you’re meant to build quill yourself, run the real dependencies (Postgres and Redis via Docker Compose from Part 4 on), and break it on purpose.
  • Measure-first is non-negotiable — Parts 5 and 6 are where most tutorials wave their hands; the discipline here is to profile before you optimize.
  • Rust refused the usual trade-off — other languages make you pick two of fast, memory-safe, no-runtime; Rust keeps all three, paying with the borrow checker instead of a garbage collector, and adds fearless concurrency (data races are compile errors).
  • The six things Rust is genuinely for — infrastructure/systems (Cloudflare Pingora, Firecracker), tail-latency-sensitive services (Discord’s GC-pause rewrite), CLIs and tooling (ripgrep, ruff, uv), WebAssembly, OS/kernels/embedded, and blockchain (Solana, Polkadot).
  • Knowing when not to use Rust — churny product logic still finding its shape, I/O-bound glue, a Rust-inexperienced team on a tight deadline, or plain CRUD where “fast enough” already wins. Rust earns its keep on the hot, expensive path, not everywhere.

Rust gives you a huge head start on “safely” by deleting whole categories of incident at compile time; everything this book teaches is the part the compiler can’t hand you — architecture, integration, operations, and performance you can measure. quill sits deliberately in the infra/performance/AI neighborhood, a small microcosm of a real system, and the operating muscles it builds are the same ones that transfer to the longer-term Solana/Anchor goal. Next up, Part 1 runs cargo new and starts building the blog core.