Shared Lib Question (ISC)

John F Haugh II jfh at rpp386.cactus.org
Thu May 9 10:00:52 AEST 1991


In article <162 at titccy.cc.titech.ac.jp> mohta at necom830.cc.titech.ac.jp (Masataka Ohta) writes:
>In article <276 at rwing.UUCP> pat at rwing.UUCP (Pat Myrto) writes:
>>I have noticed with interest the discussion going on regarding shared
>>libraries.  However, what is obvious is that there are several kinds
>>of shared libaries, all using some different scheme to operate.
>
>It proves that the concept of shared libraries is not so simple.

You are confusing the concept and the implementation of the
concept.  I would argue that the wide variety of implementation
schemes is proof that the fundamental concept is very simple.

The trouble (as I see it) is that the C libraries were not
designed well from the start.  The notion that there should
never be global variables with all manner of hidden side
effects was beaten into my brain as a CS undergrad.  Not to
slight Ritchie, et al, but they appear not to have suffered
the same violent abuse at the hands of their instructors ...

Were the code in the C library pure, shared libraries would
be extremely simple to implement.  Data, which isn't sharable,
is the worst of the flies in the ointment.
-- 
John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 255-8251 | GEnie PROHIBITED :-) |  Domain: jfh at rpp386.cactus.org
"If liberals interpreted the 2nd Amendment the same way they interpret the
 rest of the Constitution, gun ownership would be mandatory."



More information about the Comp.unix.internals mailing list