Hacker News new | ask | show | jobs
by bigstrat2003 187 days ago
But it didn't promise to be the solution either. Rust has never claimed, nor have its advocates claimed, that unsafe Rust can eliminate memory bugs. Safe Rust can do that (assuming any unsafe code relied upon is sound), but unsafe cannot be and has never promised to be bug free.
1 comments

Ok so why is Rust in the kernel if you can't use safe rust there and what's left is not what Rust promises?
Most of the kernel's Rust usage is safe Rust. The only unsafe Rust is there to interact with the rest of the kernel and to provide safe abstractions.