Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Solved/Closed What Is Static Linking And Dynamic Linking?

Discussion in 'Computers - Hardware' started by Swadesh, Mar 19, 2017.

  1. Swadesh

    White Belt

    Joined:
    Nov 6, 2016
    Messages:
    7
    Ratings:
    +1 / -0
    In operating systems exists static and dynamic linking. When a program uses static linking, the task of linking libraries to the program is done in compilation time, so the binary image of these program includes the library linking that will use. Otherwise, in a dynamic linking model, the program will link the libraries that it needs at the run time, so with this model, the program will have the ability to choose with a library to use at runtime. I.e. in most common .net programs the external libraries (DLLs) are linked at run-time, so you will have the possibility to update one of these dlls if the dlls interface definition keeps as oldest. The common use can be with a new dll version that solves some bugs or improves performance issues.
     
  2. sin123

    White Belt

    Joined:
    Mar 2, 2017
    Messages:
    93
    Ratings:
    +1 / -0
    Static linking is the process of copying all library modules used in the program into the final executable image.
    In dynamic linking the names of the external libraries are placed in the final executable file while the actual linking takes place at run time when both executable file and libraries are placed in the memory.
     

Share This Page