Shared / Dynamic Libraries

Shared or dynamic library – in Windows, DLL – binaries are files that allow multiple programs to use the same library of functions or resources without having to include them in each program’s executable file. This helps reduce memory usage and disk space, as well as making it easier to update libraries without recompiling all dependent programs. They are more complicated to use than static libraries, but are sometimes necessary for certain applications. For example, to use C, C++, Fortran, etc. binaries from Python, shared libraries are required to load the compiled code at runtime in Python. The shared library binary file extensions are typically .so on Linux, .dylib on macOS, and .dll on Windows.

2025

2024

2023

2022

2020