1.2.2 (f) – Linkers, Loaders and Libraries
Libraries are pieces of code which are already created and compiled and can be used in other programs.
They are useful because it means that code isn’t repeated, it saves the developers time and money, and they are usually very well tested.
Linkers and Loaders
Static linking – After code generation stage of compilation, a static linker is used to compile the object code with the libraries used to create machine code.
Dynamic linking – Dynamic linking is when the dependencies are loaded when the code is executed by loaders which are part of the operating system.