Rust project goals 2024: Stabilizing Rust in the Linux Kernel
summary
Project goal stabilizes concrete Rust features for the kernel: derive smart pointer and arbitrary self types enable custom smart pointers and method receivers, an asm label implements the kernel’s static branch patchpoint, const-evaluation rules now allow taking pointers to extern C statics, and CI builds the Linux kernel on each compiler change. A real driver runs on phones for over a year using unstable-but-supported features. Remaining work focuses on compiler flags, tooling (make integration, rust-project.toml) and wider architecture support.
AI-written summary · about
chapters (26)
- 0:00Rust in Linux Kernel intro
- 1:01Why Rust for Linux
- 2:28Learning Rust in Kernel
- 3:57Rust project goals overview
- 5:07Stabilizing smart pointers
- 7:18Arbitrary self types
- 8:01Assembly goto optimizations
- 11:35Pointers to statics
- 15:05Stabilizing Rust reliably
- 17:392024 goals and plans
- 18:41Compiler flags and tooling
- 23:002025 tooling focus
- 24:24Making Rust kernel-friendly
- 25:50Q&A: Core kernel parts
- 27:14Q&A: Pushback on Rust
- 28:44Q&A: Rust Analyzer integration
- 30:50Q&A: Kernel dependencies
- 32:18Q&A: Architecture support
- 34:25Q&A: Remaining Rust work
- 36:14Q&A: Rust feature set
- 37:59Q&A: Learning resources
- 38:52Q&A: Linux changes for Rust
- 41:03Q&A: Project incentives
- 42:56Q&A: New maintainers
- 44:41Q&A: Rust feature applications
- 46:29Closing remarks
related talks
25m"Rust Roadmap 2.0” | KEYNOTE
46mRust for Linux
20mKEYNOTE
34mHigh Stability Rust in Kernel by Kernel CI
24mRust for Linux: Status Update
18mKeynote: Rust and Linux: How the Rust Language is Going to Help Linux Succeed in the Future
27mRust in the Linux kernel
14mKeynote: Rust in the Linux Kernel, Why?
