another argument against shared libraries

tim at unc.UUCP tim at unc.UUCP
Fri Aug 12 00:43:00 AEST 1983


    All the user-visible problems that have recently been mentioned
with respect to shared libraries, for instance programs breaking when
the library changes, are equally true of any library when the program
is relinked, which can reasonably be expected of any program in
general use or of medium or large size.  Given this, it is hard to
take these objections seriously.

    A much more serious objection is that the addition of a new
segment to each UNIX process, which seems to be the only clean way to
do this, involves far-reaching and non-trivial changes in the kernel.
I have yet to see anyone suggest solutions at this level; it's a
little early to start talking about flag bits in page tables, when we
don't even have an overall design for the thing.  This sort of
implementation-first thinking is just the thing that could cause the
kernel to be munged beyond hope, or more likely keep the project from
even getting off the ground.

___________
Tim Maroney
duke!unc!tim (USENET)
tim.unc at udel-relay (ARPA)
The University of North Carolina at Chapel Hill



More information about the Comp.unix.wizards mailing list