Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between static and a dynamic call with respect to their load module creation?

0
10 Posted

Whats the difference between static and a dynamic call with respect to their load module creation?

0
10

A statically linked subroutine becomes part of the load module at link-edit time. At execution time the routine is present when the module is brought into memory from the load library. A dynamically linked subroutine only establishes “link points” during link-edit. At execution time the routine is not present when the module is brought into memory but is ‘dynamically’ loaded when it is called. The static approach is more efficient but if the subroutine is changed every program calling it needs to be relinked. With the dynamic approach relinking is unnecessary since the latest module is loaded from the load library.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.