|
|
Darren New <dne### [at] sanrrcom> wrote:
> > Without this possibility each program would have to be statically linked
> > with all the system libraries, and thus the same system libraries would be
> > loaded into memory multiple times. If there's eg. a huge library used by all
> > programs, it would be loaded to memory as many times as there are programs
> > running.)
> It depends. Some systems had non-dynamic loadable libraries that were
> indeed shared between programs using them. They just got linked at
> specific addresses. (I think Multics did this, IIRC.) For example, on
> the first mainframe I used, the fortran library was at 0x1FF00 or
> something like that. When you started a program that needed the fortran
> runtime, it got mapped into your address space.
> I.e., "linked" but not "dynamically under programmer control".
That still doesn't solve the problem of virtual inheritance being
either always-on or always-off for a class in a precompiled library,
without any possibility of changing it on a per-program basis.
--
- Warp
Post a reply to this message
|
|