Wed, 13 Jan 2010 00:58:09 -0700, Rainer Deyke wrote: > KennyTM~ wrote: >> Moreover, as long as there are ≥2 uses it's disk usage is already lower >> than static linking. > > Only so long as the average program that uses the library uses more than > 50% of the library.
At least on Linux the size of a simplest hello world bumps from 2.5 kB to 500 kB if all libraries are built in statically. You have to be careful when choosing the set of static libraries. That's a 200x size increase. I rarely have problems choosing which libraries should be shared. The typical 3rd party libraries I use e.g. in game development (sdl, opengl bindings and wrappers, media libraries etc.) are quite often used in various projects - at least on Linux.
