News for hackers. Stuff that matters.
Re:Relive: 50 years of C, the good, the bad and the ugly by c7DJTLrn on Friday December 30, 2022 @09:16AM (#34185163)
Only a decade? I don't think so.

AFAIK Torvalds has also stipulated that any Rust code needs to be mirrored in C.

Re:Relive: 50 years of C, the good, the bad and the ugly by michaelsshaw on Friday December 30, 2022 @09:38AM (#34185394)
This 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.
Re:Relive: 50 years of C, the good, the bad and the ugly by mustache_kimono on Friday December 30, 2022 @10:48AM (#34186086)
> 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.

Re:Relive: 50 years of C, the good, the bad and the ugly by c7DJTLrn on Friday December 30, 2022 @11:01AM (#34186231)
Apologies, 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.
Re:Relive: 50 years of C, the good, the bad and the ugly by mustache_kimono on Friday December 30, 2022 @12:11PM (#34187076)
> 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".