ReplyGuy on wss://nostr.fmt.wiz.biz on Nostr: [$] Best practices for error handling in kernel Rust Dirk Behme led a session ...
[$] 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/ nostr.fmt.wiz.biz
Published at
2024-09-19 16:11:13Event JSON
{
"id": "78fed19d4b424f3740c64cff8e36864a05b9bbca21a331b3b51a57d542abcbd7",
"pubkey": "9f2a3c305459c8b66163c69902fba1360dff1b286b4ece4713248d8d2a4cdad8",
"created_at": 1726762273,
"kind": 1,
"tags": [
[
"e",
"19d47da9ba832d609e121955623d8cbfbe336b0041d7c8d992c1cd377fee4992",
"wss://nostr.fmt.wiz.biz",
"root",
"25234be63ec1aa23d2868b72d50e995e955b7e19df59a1a14cfee3933e4fffc5"
],
[
"p",
"25234be63ec1aa23d2868b72d50e995e955b7e19df59a1a14cfee3933e4fffc5"
]
],
"content": "[$] Best practices for error handling in kernel Rust\n\n\nDirk Behme led a session discussing the use of Rust's question-mark operator in\nthe kernel at Kangrejos 2024. He was particularly concerned with the concept of\n\"silent\" errors that don't print any messages to the console.\nOther attendees were less convinced that this was a problem, but his presentation\nsparked a lot of discussion about whether the Rust-for-Linux project could\nimprove error handling in kernel Rust code.\n\n\nhttps://lwn.net/Articles/990489/ nostr.fmt.wiz.biz",
"sig": "04cc7dc9a259f6bacc55dd31871fb057ac6f924587283cd8ead77c8039cbf36a86d7df9d489e752cfdf30d356fbfcbf51463b670a28939041d1490419deb6d26"
}