Shared libraries (was Re: Window system bashing (was Re: X11 bashing))

Masataka Ohta mohta at necom830.cc.titech.ac.jp
Tue Apr 30 14:29:54 AEST 1991


In article <1991Apr29.025800.3108 at kithrup.COM>
	sef at kithrup.COM (Sean Eric Fagan) writes:

>On a '386 running SCO UNIX (or xenix, for that matter), a call to a shared
>library function one jump in addition to the normal call.  Thus, there is a
>*very* slight performance hit.

Branch is the most ineffecient instruction on today's highly pipelined
architecture.

>I don't necessarily agree that most of libc should be shared.

Didn't you claimed sharing of libc is good because of UUCP and MMDF?

>libX, on the
>other hand, as well as the toolkit libraries, would be a *very* good thing
>to share, for many reasons;

Well, the following equation holds:

	uni_X + X_window = multi_X

>the increase in execution time is offset far
>more than enough by the savings in paging, physical memory, and disk space
>used.

The best solution is not to have a complex window system.

						Masataka Ohta



More information about the Comp.unix.wizards mailing list