Skip to content

Rust for Mere Mortals

Plain-language guides to the Rust programming language, written for people who want memory safety without giving up control — no CS degree required.

No jargon without an explanation. No "it's simple, just..." Every concept starts with the idea, then the code.

One honest note up front: Rust is stricter than Python and stricter than C in a different way. The compiler will reject programs that other languages happily run. That's the point — it catches the bug before your users do — but the first week can feel like arguing with a very stubborn, very correct friend. These guides respect that instead of hiding it.

Start here

  1. What Rust Is — what it is, where it lives, and why learn it in the first place.
  2. Installing Rust — Windows, Mac, and Linux via rustup, with checks that it worked.
  3. Your First Program — the edit-build-run cycle with Cargo, with checks along the way.

The building blocks

  1. Variables and Types — let, mut, shadowing, and the types you'll actually use.
  2. Ownership — the big one: Rust's memory rules, explained plainly.
  3. Borrowing — references, and the one rule about mutable borrows.
  4. Structs and Enums — modeling your own data, including Option and Result.
  5. Error Handling — no exceptions: how Rust makes you deal with failure up front.

Reference

  1. Troubleshooting — borrow checker errors and other compiler complaints, plain fixes.
  2. Glossary — quick definitions, A to Z.

Writing criteria

Every guide follows the same writing criteria: plain words, no hype, honest limits, and checkable steps.