Subject: Re: why /bin and /sbin static
To: NetBSD User's Discussion List <netbsd-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 03/19/2001 15:31:51
[ On Monday, March 19, 2001 at 20:12:30 (+0100), wojtek@wojtek.from.pl wrote: ]
> Subject: Re: why /bin and /sbin static
>
> no. dividing libraries is inefficient with shared libs. it takes more
> memory etc...
> 
> one big libc for all would be better ...

Ah!  And there's the rub!  If all the libraries were carefully divided
and every module within was carefully isolated with sane internal
design, then *static* linking would actually be *MUCH* more efficient
in many multi-user scenarios than the use of dynamic loading with ld.so.

Much of what you've shown is the result of poor internal design in some
libraries.

For example there should be no need to pull in *all* of libdb if all you
want to do is *read* a db file!

Having too much memory available has definitely made systems programmers
just as lazy and inefficient as most applications programmers get under
the same conditions.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>