How Rust taught me to think about systems
summary
Concrete examples of the borrow checker and how they get fixed: a rolling CSV→JSON iterator that initially fails with temporary-value and lifetime errors but is refactored to own or borrow correctly, use of std::io::BufRead and MutexGuard lifetimes, explanations of Copy vs Clone and affine-type ideas, and a concurrency demo with 20 threads race example that moves to Arc/Mutex/RwLock showing what compiles and what fails. The slides and exact compiler errors are shown and repaired.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:32Disclaimer
- 3:54Variable Bindings
- 9:03Destructible Values
- 9:33Affine Types
- 10:49Why this and Pointers Are Hot in C
- 20:08Threads
related talks
53mThe Rust Borrow Checker - A Deep Dive
01h 22mRust for the C++ Programmer
22mThe Rust Borrow Checker - A Deep Dive
25mIntro and Overview to Rust
38mThe Rust Borrow Checker: a Deep Dive
40mRust’s approach of getting things right
36mThe Rust Borrow Checker: A Deep Dive
59mRust for C++ developers - What you need to know to get rolling with crates
