
Rust in Production System76 with Jeremy Soller
Jul 25, 2024
Jeremy Soller, Principal Engineer at System76 and mastermind behind the Rust-based Redox OS, shares his fascinating journey in low-level computing. He reveals the challenges of writing correct C code and how Rust transforms OS development. From kernel work to creating the COSMIC desktop, Jeremy emphasizes the advantages of Rust in refactoring and safety. He discusses System76's vertical integration approach and the importance of modular design in avoiding legacy pitfalls. Plus, he offers tips for newcomers looking to dive into OS and Rust contributions!
AI Snips
Chapters
Books
Transcript
Episode notes
Rust Enabled Redox's Existence
- Jeremy believes Redox wouldn't exist without Rust because C/C++ didn't offer the same safety and ergonomics for kernel development.
- Assembly is fun but too slow; Rust hit the sweet spot between speed and safety for OS work.
Type System Powers Safer Refactoring
- Strong typing and the ability to create distinct new types in Rust prevent many class-of-bugs common in C/C++ like swapped argument errors.
- Rust's type system and borrow rules enable safer refactoring and clearer ownership modeling across large codebases.
Human Limits Make Memory Safety Hard
- Skilled developers still produce memory-safety bugs in C due to human limits and massive system complexity.
- Rust injects lower-level constraints to reduce whole classes of bugs that humans routinely miss.

