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

Difference Between Linking Loader vs Linkage Editor
View
Structure of a Compiler Design - Phases of Compiler
View
How Program linking is possible in loaders?
View
Write note on MASM assembler
View
The linkage editor
View
How object program can be processed using linkage editor?
View
Roles of the Lexical analyzer
View