What is the difference between static linking and dynamic linking?

0
Posted

What is the difference between static linking and dynamic linking?

0

In programming static linking means that linker embeds any used libraries into your program binary, but if you use dynamic linking you will get only calls embedded and your program will use dynamic linked libraries in separate files. In Windows programming dynamic linked libraries usually have .dll extension. Using dynamic linking reduces compilation and linking time.

0

A link is said to be a static link when it links to the same location irrespective of user inputs or request. In short, it is fixed or static in nature. A dynamic link is a link that changes in response to user request. It may or may not point to the same location more than once. For example, in orkut the profile links are dynamic links different for different users.

Related Questions