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
- What Rust Is — what it is, where it lives, and why learn it in the first place.
- Installing Rust — Windows, Mac, and Linux via rustup, with checks that it worked.
- Your First Program — the edit-build-run cycle with Cargo, with checks along the way.
The building blocks
- Variables and Types —
let,mut, shadowing, and the types you'll actually use. - Ownership — the big one: Rust's memory rules, explained plainly.
- Borrowing — references, and the one rule about mutable borrows.
- Structs and Enums — modeling your own
data, including
OptionandResult. - Error Handling — no exceptions: how Rust makes you deal with failure up front.
Reference
- Troubleshooting — borrow checker errors and other compiler complaints, plain fixes.
- Glossary — quick definitions, A to Z.
Writing criteria
Every guide follows the same writing criteria: plain words, no hype, honest limits, and checkable steps.