BearPear@lemmy.world to Linux@lemmy.mlEnglish · 1 year agoAre there any advantages of using Rust instead of C in the Linux kernel?message-squaremessage-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 · 1 year agomessage-square36fedilinkfile-text
minus-squareJulianRR@lemmy.worldlinkfedilinkarrow-up12·1 year agoSo. Compile times? I’m willing to have slower compile times for more stable software.
minus-squareJulianRR@lemmy.worldlinkfedilinkarrow-up2·1 year 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.
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