BearPear@lemmy.world to LinuxEnglish · 1 year agoAre there any advantages of using Rust instead of C in the Linux kernel?message-squaremessage-square33fedilinkarrow-up189arrow-down12file-text
arrow-up187arrow-down1message-squareAre there any advantages of using Rust instead of C in the Linux kernel?BearPear@lemmy.world to LinuxEnglish · 1 year agomessage-square33fedilinkfile-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