3 ms·
Because all things are not equal, unfortunately. Per the article: > As Linus recently put it, “kernel needs trump any Rust needs”. The kernel is simply not an
by ddevault 4y ago
Because all things are not equal, unfortunately. Per the article:
> As Linus recently put it, “kernel needs trump any Rust needs”. The kernel is simply not an environment which will bend to accommodate a language; it must go the other way around.
- varajelle 4y agoWhat are these "rust needs" that are incompatible with "kernel needs"? Stuff like faillible memory allocations are being worked and rust doesn't have so many needs by itself.
- iudqnolq 4y agoA single person argued to Linus a broad amount of the kernel's internal API should be painstakingly refactored to be philosophically rust-y. Linus said no way, that's not what we're doing here. Luckily, that's not what the Rust for Linux project has been doing either.
- iudqnolq 4y agoIf Linus had said "rust can't accommodate the idea kernel needs nead to trump rust needs", I'd buy what you're saying. That line came from Linus educating a single wrong member of the rust community. It only shows that person wasn't using rust in a way that accommodated kernel needs, not that it's impossible or even difficult to do so.