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

Explain Lexical analysis with a block diagram
View
What is dynamic linking? explain the process of loading and calling a subroutine using dynamic linking
View
Structure of a Compiler Design - Phases of Compiler
View
Write note on MASM assembler
View
Explain the absolute loader and Write its algorithm.
View
The linkage editor
View
What is Lexical Analysis?
(or)
Lexical Analysis in Compiler Design with Example
View