Reader can be static, known as the archive which consists of a collection of routines that duplicated to a program by the compiler, linker, or binder, resulting in a application executable (can be stand alone or walk alone). compiler provide standard libraries, such as C standard library, but the programmer can also make libraries to be used alone or disseminated. Static library is causing the memory to be weight. Therefore, in line with technological developments, there is a library that is dynamic. The mechanism is called dynamic linking, while libraries are called dynamically linked libraries.
Dynamic linking means that the data (code) in the libraries are not duplicated into the program at compile time, but living in separate files on disk linker just takes a little work at compile time. function linker is to record what is needed by the library for the execution and index names or numbers. Heavy work of linking to be completed at load time or during run time. Code liaison needed is a loader. At the appropriate time, the loader find the relevant literature on the disk and add data from the library into existing processes in the memory space. The advantage of linking is a dynamic program memory does not become unwieldy.
Dynamic linking means that the data (code) in the libraries are not duplicated into the program at compile time, but living in separate files on disk linker just takes a little work at compile time. function linker is to record what is needed by the library for the execution and index names or numbers. Heavy work of linking to be completed at load time or during run time. Code liaison needed is a loader. At the appropriate time, the loader find the relevant literature on the disk and add data from the library into existing processes in the memory space. The advantage of linking is a dynamic program memory does not become unwieldy.
No comments:
Post a Comment