5 ms·
Only a decade? I don't think so. AFAIK Torvalds has also stipulated that any Rust code needs to be mirrored in C.
by c7DJTLrn 4y ago
Only a decade? I don't think so.
AFAIK Torvalds has also stipulated that any Rust code needs to be mirrored in C.
- deleted 4y ago[deleted]
- michaelsshaw 4y agoThis right here. Rust only JUST got added to the kernel in 6.0 and I doubt that it will replace 30 years of C development any time soon.
- mustache_kimono 4y ago> AFAIK Torvalds has also stipulated that any Rust code needs to be mirrored in C. Do you have a cite for this? I hadn't heard this at all.
- c7DJTLrn 4y agoApologies, I can't find a source. I probably read it on LWN somewhere. Linus wouldn't dip both feet into the water at the same time. I'm confident he's said that the kernel needs to be buildable without Rust if need be.
- mustache_kimono 4y ago> I'm confident he's said that the kernel needs to be buildable without Rust if need be. FWIW that's not the same thing? That's simply CONFIG_RUST=n, not "You have to write this driver twice in two different languages".