Why Do Systems Programmers Need Rust?
summary
Compares systems programming languages (C, C++, higher-level alternatives) and focuses on Rust’s safety guarantees; explains why Rust remains significantly safer than C/C++ even when unsafe code exists. Shows a concrete example of wrapping C++ code by creating a safe Rust abstraction over it.
AI-written summary · about
chapters (25)
- 0:00Introduction
- 1:07Rust myth for systems
- 2:13Systems programming defined
- 3:37C/C++ pros and cons
- 5:20Undefined behavior in C/C++
- 10:56memmove bug in glibc
- 14:26Why C/C++ unsafe
- 14:46C++ vs C advantages
- 16:34C++ drawbacks and UB
- 18:43High-level systems languages
- 21:15Rust: performance and safety
- 21:58Rust’s zero-cost abstractions
- 23:21Memory layout in Rust
- 24:28Rust’s safety guarantees
- 25:12Safe abstractions in Rust
- 26:37Vector safety example
- 27:43Closure safety example
- 28:48Thread safety in Rust
- 30:12Breaking safe abstractions
- 30:54Formal verification of Rust
- 32:18Rust safety limits
- 34:07Rust with unsafe code
- 35:13Rust wrapper for C++
- 37:19Rust with C/C++
- 37:40Summary and Q&A
