Overview
Explore the integration of Rust into the Linux Kernel and its impact on device driver development in this 39-minute conference talk from Kernel Recipes 2024. Delve into the challenges faced when adapting kernel block device driver APIs for Rust consumers. Examine the differences between Rust and C APIs for block device drivers, focusing on the safety guarantees provided by Rust. Analyze the trade-offs between safety and performance, discussing why minimal overheads are necessary to reap the benefits of safe Rust code. Gain insights from speaker Andreas HINDBORG on the progress made since Rust's initial inclusion in kernel 6.1 in December 2022, and learn about the ongoing efforts to build a general framework for writing Linux kernel device drivers in safe Rust.
Syllabus
Kernel Recipes 2024 - Interfacing Kernel C APIs from Rust
Taught by
Kernel Recipes