3 ms·
One advantage to shared libs/dlls is that a security fix will be applied to all applications that depend on that. So if everyone statically links against insecu
by evanlong 15y ago
One advantage to shared libs/dlls is that a security fix will be applied to all applications that depend on that. So if everyone statically links against insecure libA.a then all apps that depend on it need to ship a patch. Where as if libA is shipped as a shared library then one update needs to be applied. That's one advantage but maybe not the best.
- im3w1l 15y agoWhat if we could have opportunistic dynamic linking, where an application uses a shared library, if present and compatible, and otherwise uses the bundled? Seems to get the best of both worlds, no?