4 ms·
> Software would need to be rewritten to be more lazy and modular, but it'd make dynamic shared libraries actually dynamic. This does exist--see the Vulkan API
by bsder 6y ago
> Software would need to be rewritten to be more lazy and modular, but it'd make dynamic shared libraries actually dynamic.
This does exist--see the Vulkan API, for example.
And mostly everybody ignores it. Most programmers effectively write a wrapper to load everything and then treat it like the dynamic linker pulled everything in.
The alternative is when the functionality isn't core. We call those plugins and people use them quite a bit.
The problem is now you get a lot of bug reports of "Feature <X> doesn't work." "Well you don't have plugin <Y>. Closed."
Static linkage is goodness.
And, I'm tired of the dynamic library people beating the "security upgrade" dead horse. The biggest problem with the "security upgrade" argument is that a significant number of people refuse to upgrade because an upgrade always breaks something because everything is dynamically linked.
If everything was statically linked, their pet program wouldn't break and they'd be more likely to upgrade.