gmodule
GModule is a portable runtime dynamic loader provided by GLib’s libgmodule library. It offers a cross-platform API for loading shared libraries at runtime as modules, resolving symbols, and unloading modules. By wrapping platform-specific mechanisms such as dlopen and LoadLibrary, GModule enables applications to implement plug-in architectures without tying them to a single operating system interface.
The core concept is the GModule handle that represents a loaded module, along with a small set
Usage typically involves a host application loading a plugin module, obtaining the address of a well-known
Origins and scope: GModule originated in the GNOME project as part of GLib’s support for dynamic plugins
Limitations and alternatives: dynamic loading introduces runtime dependencies and potential symbol resolution issues; careful interface design