Shared system routines
Guy Harris
guy at rlgvax.UUCP
Thu Jul 28 06:08:19 AEST 1983
If the HP 3000 does shared library routines with full generality (i.e.,
dynamic linking), that probably accounts for most of the load. RSX-11 does
not do dynamic linking; you must "link" in the references to the shared library
at program link time. Of course, this means you can't just stick in a new
copy of the shared library whenever you change a routine and expect everybody's
programs to use the new version automatically (which is one of the side benefits
of system calls; just re-sysgen the OS and everybody making a system call gets
the new code). So there are some tradeoffs available, depending on how
general or right you want to be. I've not used RSX-11M style shared libraries
(i.e., you bind at program link time, and they are accessed mostly like
regular libraries), so I don't know how inconvenient the restrictions on such
are. The fully general approach (i.e., bind at program execute time) does
impose the cost of a linker each time you run the program, but Multics
provided a binder which permitted you to bind references between the
modules given to the binder before program run time.
Guy Harris
More information about the Comp.unix.wizards
mailing list