@BearPear@lemmy.world to Linux@lemmy.mlEnglish • 11 months agoAre there any advantages of using Rust instead of C in the Linux kernel?message-square36fedilinkarrow-up189file-text
arrow-up189message-squareAre there any advantages of using Rust instead of C in the Linux kernel?@BearPear@lemmy.world to Linux@lemmy.mlEnglish • 11 months agomessage-square36fedilinkfile-text
minus-square@JulianRR@lemmy.worldlinkfedilink12•11 months agoSo. Compile times? I’m willing to have slower compile times for more stable software.
minus-square@JulianRR@lemmy.worldlinkfedilink2•11 months agoI think at some level you can’t really get both. The rust compiler is constantly being sped up, but the amount of checking it does simply takes time. It’s the age old adage “The fastest code is the one that doesn’t exist”. The fastest compilation checks are the ones you don’t do.
Then why would you choose zig?
deleted by creator
So. Compile times?
I’m willing to have slower compile times for more stable software.
deleted by creator
I think at some level you can’t really get both. The rust compiler is constantly being sped up, but the amount of checking it does simply takes time.
It’s the age old adage “The fastest code is the one that doesn’t exist”. The fastest compilation checks are the ones you don’t do.
deleted by creator