Re:App sizes are out of control
by verytrivial on Wednesday August 02, 2017 @07:11AM
(#14909594)
> dynamic linking's main motivation was to eliminate duplicate code and reduce code size
I'm pretty sure the main motivation is/was to allow patching of dependencies independently from applications. Very popular shared libraries might save space overall, but that is a secondary effect.
When I started out the main motivation was to get install sizes down. At least on Windows patching never really worked and ended in "DLL hell".
Now it has turned out exactly the opposite way. If we went back to linking object code together we would get smaller sizes. Instead we have to include huge DLLs.