3 ms·
> What’s wrong with a bigger standard library? Maintainer time mostly and for some uses bloat. > If you dynamically link, it makes no difference I had projec
by josefx 6y ago
> What’s wrong with a bigger standard library?
Maintainer time mostly and for some uses bloat.
> If you dynamically link, it makes no difference
I had projects that were limited by the time it took to load and initialize the program binary and loading/linking the C standard library was the largest dependency it had.
> and if you statically link, any decent linker won’t bring in what you don’t use
Santa, a sufficiently smart compiler and a decent linker walk into a bar. Here the joke segfaults because someone passed the wrong buffer size into sprintf_s.