5 ms·
Except that dynamically linking libraries into your program almost always uses more memory than statically linking your program. If your metric is the memory u
by scott_s 16y ago
Except that dynamically linking libraries into your program almost always uses more memory than statically linking your program.
If your metric is the memory usage of one arbitrary program. If your metric is the total memory usage of the system, it's likely that dynamic linking is a win because many applications can reuse the same pages in memory.
Most systems (including Unix, which did not have dynamic linking until late 80s/early 90s) worked just fine without it.
That's neither-here-nor-there; most systems worked just fine without operating systems until those were invented, too.