Re:Memory safe ‘curl’ for a more secure internet
by jandrese on Friday October 09, 2020 @03:55PM
(#24733762)
When I find a project that is a handful of .c files and a Makefile they almost always compile and run. Sometimes with warnings because the features used in the code are depreciated but usually without too much fanfare.
Re:Memory safe ‘curl’ for a more secure internet
by dpc_pw on Friday October 09, 2020 @04:23PM
(#24734044)
> they almost always compile and run
Same in Rust. Actually, it's quite better than in C. The only time Rust projects fail to compile is when they pull in some C library and something there (like configure.ac) messed up. :D
And if this C project does anything interesting it pulls in bunch of C libraries that came precompiled with your OS, and might be stale and contain unpatched security vulns.
C/C++ developers pointing at other languages about dependency hell is a curiosity.
I agree with this, but that's not what your original post says. Or at least, it’s not what I understood from reading it. :)
> The point is, Rust (and NPM)
and C, in many real-world cases, which is why the above post matters.