News for hackers. Stuff that matters.
Re:Rust in the 6.2 Kernel by conradev on Friday November 18, 2022 @12:30PM (#33658241)
The key difference as outlined in the article is that Box::new cannot fail in Rust, but the underlying malloc can.

In userspace it is rare enough that a Rust panic is considered acceptable behavior, but this is not the case for the kernel.

But, it is controllable for sure

Re:Rust in the 6.2 Kernel by tialaramex on Friday November 18, 2022 @01:22PM (#33659304)
Unsurprisingly the kernel's Box does not have Box::new it provides instead Box::try_new which is fallible.