News for hackers. Stuff that matters.
Re:The end of the kernel Rust experiment by bonzini on Wednesday December 10, 2025 @02:30AM (#46215104)
You can absolutely write drivers with zero unsafe Rust. The bridge from Rust to C is where unsafe code lies.
Re:The end of the kernel Rust experiment by weebull on Wednesday December 10, 2025 @08:12AM (#46217287)
And hardware access. You absolutely can't write a hardware driver without unsafe.
Re:The end of the kernel Rust experiment by bonzini on Wednesday December 10, 2025 @11:40AM (#46219925)
There are devices that do not have access to memory, and you can write a safe description of such a device's registers. The only thing that is inherently unsafe is building DMA descriptors.