4 ms·
How is this dynamic loading implented? Is it effectively a cross-platform wrapper over LoadLibrary/GetProcAddress/etc. (and their POSIX equivalents) or is there
by keldaris 8y ago
How is this dynamic loading implented? Is it effectively a cross-platform wrapper over LoadLibrary/GetProcAddress/etc. (and their POSIX equivalents) or is there more to it? Is it possible to make link time optimization work with dynamic loading?
- p0nce 8y ago> Is it effectively a cross-platform wrapper over LoadLibrary/GetProcAddress/etc. Yes it's just that. > Is it possible to make link time optimization work with dynamic loading? Not that I know of (not sure).
- CyberShadow 8y ago> Is it possible to make link time optimization work with dynamic loading? No, but nor can you with regular ol' linking against shared libraries. Or against static libraries (except for some mundane stuff like function reordering). LTO requires toolchain support and occurs before code generation.