3 ms·
Learning Rust is certainly useful! But C is not going to disappear, and the huge reams of important code written in it, like the Linux kernel proper, are not g
by nine_k 4y ago
Learning Rust is certainly useful!
But C is not going to disappear, and the huge reams of important code written in it, like the Linux kernel proper, are not going away, too.
But C is so much simpler than Rust, it comes almost free. It does give you an appreciation what really unsafe code is, and why is it so unsafe. It also gives you a better understanding of how the machine works on the lower level.
- lmm 4y agoIs C actually simpler than Rust? It's certainly less powerful, but it has so many weird edge cases (e.g. the integer promotion rules) that I'm not convinced it's actually easier to learn fully.
- anta40 4y ago>> But C is not going to disappear My impression too. Very unlikely that Linux and BSD kernels will be re-written in Rust.
- foul 4y agoIt may happen. It would kill both projects, because Rust is arguably future-proof in its syntax.
- Normille 4y ago>Rust is arguably future-proof in its syntax. I'm not so sure about that. Given how many people dip a tentative toe in the Rusty waters and give up, baffled by the arcane syntax, I really wouldn't be surprised if Rust-2032 bore little resemblance to Rust-2022