Hacker News new | ask | show | jobs
by fschuett 16 days ago
It's not just about vulns, it's that Rust has a "compile anywhere" (even WASM) that C just doesn't have. I can pull a few Rust libraries that do different things together and make something new from it, with C, good luck with all the Makefiles.

And the small improvements that accumulated can be ported too, when doing Rust rewrites, I would not say that this is an argument for sticking with C per se. And 20% less vulns is still 20% less.

2 comments

Using libcurl is trivial and you probably already have it installed in your distro.
CMake + conan

I find funny the "compile anywhere" remark, given the reason GCC frontend project exists in first place is that the LLVM based compiler isn't able to compile anywhere there is a C compiler available.