3 ms·
Pros: - Portable (as long as you don't need dlopen/dlsym). If you do need to dlopen other libraries, you can run into issues on ARM mobile with mixed soft/hard
by lunixbochs 12y ago
Pros:
- Portable (as long as you don't need dlopen/dlsym). If you do need to dlopen other libraries, you can run into issues on ARM mobile with mixed soft/hardfp calling conventions. Otherwise you're fine if the ABI is solid.
- No need to atomically update your system, as applications stand alone.
- Slightly faster program startup time.
Cons:
- Slightly larger file size (assuming you linked glibc... doesn't apply so much to things like musl or lib43).
- You can't link in OpenGL client libraries, so games will probably still need the dynamic linker.
- mmozeiko 12y agoOn x86 and x86_64 you should be fine to use OpenGL via dlopen/dlsym, right?