3 ms·
It feels like we are on the cusp of finally having secure software after decades of C and C++ failing at every step. I for one welcome our new blazingly fast c
by bfrog 1y ago
It feels like we are on the cusp of finally having secure software after decades of C and C++ failing at every step.
I for one welcome our new blazingly fast coreutils and wait expecting a blazingly fast kernel to go right along with the fish shell.
- _lvbh 1y agoWhat do you mean blazingly fast? I would assume Rust and C have roughly the same performance coming down to LLVM. I'm not convinced that coreutils need much security since they're almost never exposed and with the exception of sudo, shouldn't hold any extra privileges the user doesn't already have. I do welcome new implementations though, competition is always good
- bfrog 1y agoIt’s a bit of a joke, everything rust does is “blazingly fast” and has almost become a meme at this point. Though it does seem to trend towards well performing programs on the whole. I meant the rest though in a more serious manner.
- hyperman1 1y agoOne part of the answer is rust's borrowing provided assurances that make it possible to clone less. The type system guarantees immutability in a lot of cases. For small scale examples this doesn't mean much, but larger software gains a few percents for free. This argument is cultural, not technical. I presume it is possible to write e.g. C++ classes with similar guarantees. But it is work you get for free in rust, so in practice it almost only happens there at scale.