Oddbean new post about | logout
 [$] Best practices for error handling in kernel Rust


Dirk Behme led a session discussing the use of Rust's question-mark operator in
the kernel at Kangrejos 2024. He was particularly concerned with the concept of
"silent" errors that don't print any messages to the console.
Other attendees were less convinced that this was a problem, but his presentation
sparked a lot of discussion about whether the Rust-for-Linux project could
improve error handling in kernel Rust code.


https://lwn.net/Articles/990489/