The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
In Dynamic Loading:- We load the particular module into the main memory when it is needed.

In Demand Paging:- We load the particular page into the main memory when it is needed.

Both don't seems to be same??
asked in Operating System by Boss (18.9k points) | 426 views
Yes they do the same thing technically speaking. They both retrieve something they need at will.

I guess the name differs where you use it :P

Dynamic loading for loading and retrieving library and packages from system level. And demand paging for loading in pages at will.
"loading and retrieving library and packages from system level" also retrieved in page wise manner.

2 Answers

0 votes
may be its differentiated based on taken from physical memory or virtual memory

sorry if i dont make sense
answered by Boss (12.7k points)
0 votes

Dynamic Loading is simply a concept in which a software is written in such a way that when it is packaged to be sent to production (for eg. in a .exe or .jar or .apk ) then any library which is required at runtime is not packaged inside.

Simplest example is in Java when you connect Java to MySQL then you write:-


Here we connect to the com.mysql.jdbc.Driver Library which is required to be present in the production environment.

Refer here:-

Demand Paging is a concept in totally totally different context. It simply means caching (bringing) the process' page kept in HDD to RAM --> ON DEMAND. -> i.e. on MMU's demand. 

answered by Junior (551 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
47,931 questions
52,334 answers
67,816 users