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

Write note on MASM assembler
View
Difference Between Linking Loader vs Linkage Editor
View
How Program linking is possible in loaders?
View
What is dynamic linking? explain the process of loading and calling a subroutine using dynamic linking
View
The linkage editor
View
Lexical Analyzer Architecture.
(or) How tokens are recognized
View
Explain the absolute loader and Write its algorithm.
View