Chapter 1: The Systems Programming Problem
Prerequisites
None — start here
You will understand
- The five bug classes Rust prevents
- Why C/C++ failed at memory safety
- What problem Rust was designed to solve
Reading time
40 min
+ 15 min exercises
You'll need this for Chapter 10
The five bug classes you learn here are exactly what ownership prevents. Ch 10 shows the mechanism; this chapter explains the motivation.
Ch 10: Ownership →
Bug Poster
The Five Catastrophic Bug Classes
Landscape Diagram
The False Dichotomy: Fast and Unsafe vs Safe and Slow
Incident Diagram