Series

An Introduction to Rust

Rust has a reputation: powerful, fast, and famously hard to learn. Most of that difficulty is front-loaded into a handful of ideas — ownership, borrowing, lifetimes — that don’t map onto anything in Python or JavaScript. This series takes them in order, one idea per part, with real code at every step.

No prior systems programming assumed. If you can read a function in any language, you can start at part one.

  1. 01 Why Rust, and how to think about it
  2. 02 Ownership, moves, and borrows
  3. 03 Structs, enums, and pattern matching