Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ssc-vax!coy From: coy@ssc-vax.UUCP (Stephen B Coy) Newsgroups: comp.sys.apple Subject: Re: Languages for an Apple //e - //c (was P-Code Systems) Summary: a minor nit about printf... Keywords: Just TRY buying one. Message-ID: <2693@ssc-vax.UUCP> Date: 5 Jun 89 21:39:40 GMT References: <1373@tellab5.tellabs.CHI.IL.US> Organization: Boeing Aerospace Corp., Seattle WA Lines: 18 In article <1373@tellab5.tellabs.CHI.IL.US>, toth@tellab5.tellabs.CHI.IL.US (Joseph G. Toth Jr.) writes: > All this additional code is added (in many cases, even > if it is not needed - A guy I work with bought Aztec 'C' anf compiled > a program with a single procedure that did 'printf ( "Hi" );', this one > stament program compiled to approximately a 4K byte program - no disk I/O > or any other functions). printf() is a BIG function. Try the same code on another system and look at the size. My guess is that 4K will all of a sudden seem tiny. Just for a sanity check I tried it on a couple of machines. VAX running BSD v? ~9k, Compac 286 running MS-DOS and Microsoft C v5.? with full optimization ~7k. > Maybe I shouldn't have done it, sarcasm is so | Joseph G. Toth Jr. > seldom understood. Don't FLAME on me, please. | uunet!tellab5!toth Stephen Coy uw-beaver!ssc-vax!coy