From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,b0b9a5eaad4ab6eb X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,b0b9a5eaad4ab6eb X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,b0b9a5eaad4ab6eb X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,b0b9a5eaad4ab6eb X-Google-Attributes: gid110292,public From: Terje Mathisen Subject: [++] Tight coding (Was: Re: Wildfire and NT) Date: 1998/02/25 Message-ID: <34F49435.B6307838@hda.hydro.com>#1/1 X-Deja-AN: 328638102 Content-Transfer-Encoding: 7bit References: <6csl81$rb9@news-rocq.inria.fr> <34F3B7C5.5FD1@earthlink.net> Content-Type: text/plain; charset=us-ascii Organization: Hydro Mime-Version: 1.0 Newsgroups: comp.sys.dec,vmsnet.alpha,comp.arch,comp.sys.intel Sean Burke wrote: > system is so popular today. Perhaps our code will in turn be > described as "lean-n-mean" by those who follow us. But don't > bet on it. In the Mac world, the term "byte-squeaking pinheadery" > has been applied to some of the brilliant coding that enabled > the original MacOS to run in 128K. > > -SEan > > (Think about it - OS, window system, and even space left to run > a simple word processor, in 128K! Boggles the mind, doesn't it? ) Another example: The original Turbo Pascal 1.0: This program used a total of 35kB (37 if you allowed textual error messages instead of just numbers), and contained a full-screen editor (using WordStar keys), a compiler/linker(/debugger?), as well as the full runtime library. I still believe this must rank as one of the best hacks ever (written by Anders Heilsberg, the dane). Terje -- - Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching"