Program Libraries | Dynamic & Static | DLL Files

A program library is a collection of pre-written, tested routines that programs can use. You will compare static libraries, which are built into the program, with dynamic libraries (DLLs), which are loaded when it runs.

Key terms

Program library
A collection of pre-compiled, pre-tested routines available for programs to use.
Static library
Library code that is compiled into the executable at compile time.
Dynamic library (DLL)
A library loaded at runtime and shared between programs. Executables are smaller, and updating the library benefits every program using it.
Disadvantage of dynamic libraries
The program depends on the library being present, and the correct version.

Part of System Software.