2 ms·
I was going to say much the same thing - static and dynamic linking both have their pros and cons, you can't really say one is categorically better than the oth
by GordonS 8y ago
I was going to say much the same thing - static and dynamic linking both have their pros and cons, you can't really say one is categorically better than the other.
- zzzcpan 8y agoDynamic linking doesn't have much pros beyond saving some disk space and some insignificant amount of build time.
- GordonS 8y agoI agree those are small things these days, but IMO the biggest pro is security related - it makes it easier to update libraries when security issues arise. For example, if a new issue is found in OpenSSL, you can update the OS's shared library, but for statically linked apps you're dependant on vendors rebuilding and publishing those apps to link to the new version.
- twblalock 8y agoTwo solutions may each have pros and cons, but that does not mean that one of the solutions is not better overall.