Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Keeping executables small (was: main() and exit())
Message-ID: <1989Jan16.013922.28158@utzoo.uucp>
Organization: U of Toronto Zoology
References: <416@marob.MASA.COM> <11467@dartvax.Dartmouth.EDU> <179@amsdsg.UUCP> <599@micropen> <1700@valhalla.ee.rochester.edu> <282@twwells.uucp> <7082@batcomputer.tn.cornell.edu> <9253@smoke.BRL.MIL> <8634@bloom-beacon.MIT.EDU> <9295@smoke.BRL.MIL> <8658@bloom-beacon.MIT.EDU>
Date: Mon, 16 Jan 89 01:39:22 GMT

In article <8658@bloom-beacon.MIT.EDU> scs@adam.pika.mit.edu (Steve Summit) writes:
>(In the case of exit and stdio, I suspect that the excuse for not
>taking steps to make loading of most of stdio truly optional is
>that the number of useful programs that don't use stdio is
>small.)

Don't forget, also, that stdio was meant to be cheap enough that there
wouldn't be any significant reason *not* to use it.  The one part that
was significantly bulky in the original implementation, printf's code
for floating-point conversions, was organized so that its loading was
indeed optional.

Unfortunately, all too many Unix suppliers nowadays don't care how big
the executables are... after all, it helps sell memory...
-- 
"God willing, we will return." |     Henry Spencer at U of Toronto Zoology
-Eugene Cernan, the Moon, 1972 | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
