3 ms·
In addition to the other excellent reasons mentioned here, there's also the fact that some libraries deliberately choose to use runtime dynamic linkage (dlopen)
by PaulDavisThe1st 7y ago
In addition to the other excellent reasons mentioned here, there's also the fact that some libraries deliberately choose to use runtime dynamic linkage (dlopen) to load optional/runtime-dependent functionality.
- gmueckl 7y agoIf you want make a program that supports plugins, you have only two real options: non-native runtimes or dynamic linking. And the later gets you into a lot of trouble quickly. The former trades performance and memory usage for ease of use and a zoo of dependencies.
- rumanator 7y ago> some libraries deliberately choose to use runtime dynamic linkage (dlopen) to load optional/runtime-dependent functionality. Also known as plugins. It's not a design flaw, it's a feature.