News for hackers. Stuff that matters.
Re:Stali: A new static Linux distribution by 0xcde4c3db on Wednesday September 28, 2016 @09:23AM (#12597387)
> you always have to load the whole library into memory

Not really. You do have to mmap it, but it can be demand-paged (executables are handled this way on most modern systems, which is why compressed executables are usually a bad idea). IIRC, what saves time is mostly not having to do the actual linking part where the references are resolved. This can be precomputed and stashed in the binary (an optimization well-known to Gentoo+KDE users), but that confuses some package managers, breaks some uses of dlopen()/dlsym(), and has issues with ASLR.

There are no comments on this comment yet.