🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4188

Re: Modula2's godawful IO.

#4188
From: Eric Brown
Date: Sat, 16 Apr 1988 16:38
13 lines
1249 bytes
In article <942@unmvax.unm.edu> mike@turing.UNM.EDU.UUCP (Michael I. Bushnell) writes:
>To use printf, it ups your text segment by a whole 2236 bytes.  Wow.
>Puts is about 10% of that (200 bytes)
>but isn't really any faster.  But CERTAINLY NOT a "20K" overhead.  Go
>ahead and use printf.  It doesn't really cost you that much.

Now include the size of the floating point libraries.  On Microsoft 5.0 C,
calling printf links the floating point emulator, which is about 30K of code.
Is this significant?  I think so.  I once hacked out 300K out of a suite of
programs by transforming printf's to puts'es and also by using an integer-only
printf.  Sometimes, every byte counts.  Not all the world is a vax, you know.

	-Eric, Called Ultrahacker
Technical Details
Message-ID: <230@jupiter.olyis.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!iconsys!caeco!olyis!pluto!ecb
References: <764@ndsuvax.UUCP> <535@m10ux.UUCP> <730@mhuxm.UUCP> <942@unmvax.unm.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!iconsys!caeco!olyis!pluto!ecb
From: ecb@pluto.uucp (Eric Brown)
Newsgroups: comp.lang.modula2,comp.lang.misc,comp.lang.c,comp.lang.pascal
Subject: Re: Modula2's godawful IO.
Message-ID: <230@jupiter.olyis.UUCP>
Date: 16 Apr 88 16:38:26 GMT
References: <764@ndsuvax.UUCP> <535@m10ux.UUCP> <730@mhuxm.UUCP> <942@unmvax.unm.edu>
Sender: news@olyisjupiter.UUCP
Reply-To: ecb@pluto.UUCP (Eric Brown)
Organization: Olympus Software, Inc.   Sandy, UT
Lines: 13