What is dynamic linking? explain the process of loading and calling a subroutine using dynamic linking


The scheme that postpones the linking functions until execution. A subroutine is loaded and linked to the rest of the program when it is first called – usually called dynamic linking, dynamic loading or load on call. The advantages of dynamic linking are, it allow several executing programs to share one copy of a subroutine or library. In an object oriented system,
dynamic linking makes it possible for one object to be shared by several programs. Dynamic linking provides the ability to load the routines only when (and if) they are needed. The actual loading and linking can be accomplished using operating system service request.


Share to whatsapp

More Questions from System Software and Compiler Design Module 2

Lexical Analyzer Architecture.
(or) How tokens are recognized
View
The linkage editor
View
Explain the absolute loader and Write its algorithm.
View
Input Buffering in Compiler Design
View
How Program linking is possible in loaders?
View
Write note on MASM assembler
View
How object program can be processed using linkage editor?
View