4 ms·
C isn't outdated. The fact that nothing has fully replaced it is a testament to its continued practicality. As for the impossible-to-use-safely functions, use
by nitrogen 16y ago
C isn't outdated. The fact that nothing has fully replaced it is a testament to its continued practicality.
As for the impossible-to-use-safely functions, use only string manipulation functions that have an n in their name.
Finally, compared to the size of most standard libraries, I wouldn't say the cruft that exists is "substantial." Everything the libc package installs in /lib is less than 3MB on ARM, and that includes crypto, math, networking, and a bunch of other code. The cruft makes up a rather small fraction of that.