From: Dan Nuffer (dnuffer_at_[hidden])
Date: 2001-02-20 15:39:59
Ed Brey wrote:
> Do you know if or when Linux or other OSs using RPMs will be able to demand
> page a runtime-linked library? That is, within the reasonable near future
> (or now), can the OS be smart enough to just allocate enough memory portion
> of the library that is actually being used? My understanding is that NT
> does this, but I don't know about other OSs. Once targets OSs can do this,
> bundling multiple libraries linearly into a single .so file doesn't cause a
> significant speed penalty, and conversely, if a program uses multiple boost
> libraries, it saves the time and space overhead of working with multiple
> library files.
I don't know a lot about such low-level os mechanisms, but after a
little research I learned that Linux does do this and has done it for
quite a while. So, in the absence of any objections, I will change the
boost RPM to create only libboost.so and libboost.a.