News for hackers. Stuff that matters.
Re:Does Rust belong in the Linux kernel? by ddevault on Tuesday October 04, 2022 @04:41AM (#33077840)
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.

Re:Does Rust belong in the Linux kernel? by iudqnolq on Tuesday October 04, 2022 @11:41AM (#33081977)
If 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.

Re:Does Rust belong in the Linux kernel? by varajelle on Tuesday October 04, 2022 @06:18AM (#33078383)
What 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.

Re:Does Rust belong in the Linux kernel? by iudqnolq on Tuesday October 04, 2022 @11:44AM (#33082035)
A 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.