News for hackers. Stuff that matters.
Re:The state of the kernel Rust experiment by yourdetect on Friday December 19, 2025 @06:30AM (#46324638)
> Of course, this bug was in an `unsafe` block, which is exactly what you would expect given Rust's promises.

The fix was outside of any Rust unsafe blocks. Which confused a lot of Rust developers on Reddit and elsewhere. Since fans of Rust have often repeated that only unsafe blocks have to be checked. Despite the Rustonomicon clearly spelling out that much more than the unsafe blocks might need to be checked in order to avoid UB.

Re:The state of the kernel Rust experiment by simonask on Friday December 19, 2025 @07:38AM (#46325163)
Rust fanboys on Reddit are not contributing to the Linux kernel. What matters here is that Rust helps serious people deliver great code.
Re:The state of the kernel Rust experiment by yencabulator on Sunday December 21, 2025 @06:21PM (#46349673)
The unsafe code relied on an assumption that was not true; the chosen fix was to make that assumption be true. Makes perfect sense to me.