3 ms·
"that could one day replace C" I don't understand why would anybody say that, it's seems such a simple concept to me that nothing ever will replace C. Think ab
by kissgyorgy 4y ago
"that could one day replace C"
I don't understand why would anybody say that, it's seems such a simple concept to me that nothing ever will replace C. Think about just the Linux kernel, nothing else. Nobody will and can rewrite every part of it that a C compiler will not be needed.
- cassepipe 4y agoThe meaning is obviously to replace C in situations where C shines when writing new code. No one is talking about rewriting the Linux Kernel. Even the Zig project's explicit goal is to be seamlessly interoperable with C in order to build upon already written C code.
- Gigachad 4y agoI doubt every single line of C will be removed considering a lot of it is drivers for hardware no one has anymore, but I’d say in 10 years the majority of actually used code in the Linux kernel will be Rust. The Asahi project has shown that Rust is the better choice for kernel code right now.
- cozzyd 4y agoThat will make backporting security fixes fun. (I think there's less than a ten percent chance of this happening)
- piperswe 4y agoI'd say in 10 years the majority of new kernel modules will be written in Rust, but old code won't be rewritten just for the sake of rewriting in Rust (except maybe a select few where such a rewrite is identified as beneficial)