Monday, October 7, 2013

Difference between Loader and Linker


SN
Difference between Loader and Linker: To execute a program made by programmer, the program should first of all be converted Into machine language normally by a compiler because most of languages are compiler based languages. After Compilation program is linked and then loaded into CPU for execution.

Linker
Loader
1
Linker is used after the program is
Compiled.
Loader is used after the linker has been used on Compiled program.
2
Linker is used for linking the main
Program with library function used in the Main program.
Loader is used for loading program in CPU for Execution.
3
Linker is used at run time
Loader is also used at run time.
4
Linker saves the main program from Being overloaded.

Loader does not possess this feature it require full  Program (main program + library Functions used in  Main program)
5
Linker saves lot of memory space.

Loader help in fast execution of program

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Sir it has been a awesome blog till now ' we wount get a bettr teacher than you... Love you sir . i heartly appericate your hrd wrk on us :)

    ReplyDelete