Shared lib versions of X11, Xt, Xmu, etc?
Conor P. Cahill
cpcahil at virtech.uucp
Sat Feb 9 00:47:14 AEST 1991
In article <401 at uucs1.UUCP> gaf at uucs1.UUCP () writes:
>When you're running several copies of a program which is over 1 Mb in memory,
>you start wishing for the promised land of shared libraries.
If it's several copies of the same program, shared libraries won't save you
anything because the programs shar text anyway (i.e. if you have 10 vi's
running and vi has a size of 125k text, 136k data the total memory resources
will be approximately 125k + 10*136k. This is the same even if vi is compiled
with shared libraries).
The place where shared libraries save you is when you have multiple programs
that use the same libraries, since different programs do not share text (unless,
of course, you set up the programs as links to each other and used argv[0]
to differentiate between the two - like mv/cp/ln).
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.sysv386
mailing list