Mail Archives: djgpp/1997/11/05/09:01:30
Hullow there,
eyal DOT ben-david AT aks DOT com wrote:
> I'm not sure that loading a shared library will reduce the startup
> time. I don't have any experience with Linux shared librarys but
> if the behaviour of shared libs is roughly similar to Windows DLL's
> then the startup time is even longer. ALL the library is loaded to
> memory and not just the necessary routines.
>
Nope, the Linux dynamic linker only loads the routines that are
needed. More than that, the most often used libraries (e.g. libc) are
already loaded most of the time, so the dynamic linker just has to
map the necessary routines into the process address space.
Martynas
- Raw text -