* Steve Willer said: > > > think that was without a full understanding of what was involved. > > > > No memory cost? Care to rethink that again? > > I have been rethinking it, but as far as I can tell from reading the ldso > source and from knowing a little bit about how linkers work, there is no > RAM benefit from using shared libraries. The benefit is on the maintenance > side, having shared code sitting in a single file. If you can point me to > a page that explains where I'm wrong (if I am), then please do. Well, the think with shared libraries is that they share the common code which would otherwise get loaded with every statically linked binary. The shared code is loaded once and mmapped to the memory arena of a process. There is quite a big memory gain on that. marek
Attachment:
pgp4UArBZYnsi.pgp
Description: PGP signature