Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Sean Burke <Iburke@earthlink.net>
Subject: Re: Wildfire and NT
Date: 1998/02/24	[thread overview]
Message-ID: <34F3B7C5.5FD1@earthlink.net> (raw)
In-Reply-To: Eow2yu.F8p@bit3.com


brianh@bit3.com wrote:
> 
> In article <6csl81$rb9@news-rocq.inria.fr>,
> Robert Harley <harley@pauillac.inria.fr> wrote:
> >brianh@bit3.com writes:
> >
> >>Don't overestimate the importance of the personal computer experience.
> >
> >It all depends on what was derived from that experience: one guy will
> >have acquired "the right stuff" while another will have memorized some
> >Windoze API...
> 
> I held a lot of the same opinions in my younger days that a lot of the
> young hackers hold.  For example, comments are for dweebs who can't read
> code.  And then I encountered the Real World (tm).  And had several
> epiphanies.

Nevertheless, I think there have been some tangible changes
in coding style over the last few years. Back in the eighties,
good programming meant getting the most out of arrays. For fast
access and low overhead, you just can't beat 'em. The BSD kernel
had a fixed set of proc entries, the C library had bsearch() and
qsort(). If you did a code walkthrough, people would point out
calls to malloc(), and tell you it was an expensive call. Header
files had constants for MAX_NUM_this_or_that, and programs had
configuration files where you sized various tables.

Today, we use malloc'ed objects, storing the pointers in linked-lists,
btrees and hash tables. These data structures come with a lot of
overhead both in space and time - malloc overhead, pointer-indirection,
etc. But they are more flexible than arrays, and in modern systems,
the overhead just isn't often noticeable. One of the tenets of "modern"
coding is to avoid any kind of fixed limitations in one's code. (I
recently was annoyed to discover that a certain C compiler would not
handle literal strings over 32K bytes - imagine!  :^)

Was the old style better?  Well, there's nothing like running 
yesterday's software on today's machines - one reason the BSD
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? )



  reply	other threads:[~1998-02-24  5:00 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-23  5:00 Wildfire and NT Robert Harley
1998-02-24  5:00 ` brianh
1998-02-24  5:00   ` Sean Burke [this message]
1998-02-25  5:00     ` brianh
1998-02-25  5:00     ` Maynard Handley
1998-02-25  5:00     ` Mike Albaugh
1998-02-25  5:00     ` [++] Tight coding (Was: Re: Wildfire and NT) Terje Mathisen
1998-02-28  5:00       ` Piercarlo Grandi
1998-03-01  5:00       ` [++] Tight coding Bill Moyer
1998-03-01  5:00         ` Larry Kilgallen
1998-03-01  5:00           ` [++] Tight coding (comp.sys.dec-only thread) Bill Moyer
1998-03-01  5:00         ` [++] Tight coding Ruud Bruijnesteijn
1998-03-01  5:00           ` scott
1998-03-02  5:00             ` Terry Moore
1998-03-02  5:00               ` Kaz Kylheku
1998-03-02  5:00               ` Pete Becker
1998-03-03  5:00                 ` Ruud Bruijnesteijn
1998-03-03  5:00                   ` Pete Becker
1998-03-04  5:00                     ` Terry Moore
1998-03-03  5:00                       ` Pete Becker
1998-03-04  5:00                       ` Ruud Bruijnesteijn
1998-03-02  5:00             ` Martin Tom Brown
1998-03-02  5:00             ` Kaz Kylheku
1998-03-02  5:00         ` Peter Moylan
1998-03-02  5:00           ` Scott Fluhrer
1998-03-02  5:00           ` Lawrence Kirby
1998-03-02  5:00             ` Peter Moylan
1998-03-02  5:00               ` Kaz Kylheku
1998-03-02  5:00               ` Ketil Z Malde
1998-03-04  5:00                 ` Lyn A Headley
1998-03-03  5:00               ` Lawrence Kirby
1998-03-02  5:00           ` Kaz Kylheku
1998-03-02  5:00           ` Martin Harvey
1998-03-03  5:00           ` Larry Kilgallen
1998-02-24  5:00   ` Wildfire and NT David Hinds
1998-02-25  5:00     ` Del Cecchi
1998-02-25  5:00     ` brianh
1998-02-24  5:00   ` Bill Moyer
1998-02-25  5:00     ` Larry Kilgallen
1998-02-25  5:00       ` brianh
1998-02-25  5:00         ` Epiphanies (was: Wildfire and NT) Carlie Coats
1998-02-25  5:00     ` Wildfire and NT John Hascall
1998-02-25  5:00       ` Rob Rodgers
1998-02-25  5:00   ` Bernd Paysan
1998-02-25  5:00     ` brianh
1998-02-26  5:00       ` Doug
1998-02-26  5:00         ` Jeffrey S. Dutky
1998-02-26  5:00       ` Bernd Paysan
1998-02-27  5:00         ` brianh
1998-03-01  5:00           ` Ketil Z Malde
1998-02-27  5:00   ` Paul Kahler
1998-03-02  5:00     ` Joel Gallun
1998-03-02  5:00       ` Przemek Klosowski
  -- strict thread matches above, loose matches on Subject: below --
1998-02-25  5:00 Robert Harley
1998-02-25  5:00 ` brianh
1998-01-29  5:00 Rob Young
1998-01-29  5:00 ` jf mezei
1998-01-30  5:00 ` Andrew Harrison SUNUK Consultancy
1998-01-30  5:00   ` David Cherkus
1998-01-31  5:00     ` Anil Thomas Maliyekkel
1998-02-06  5:00       ` Terry Shannon
1998-01-31  5:00     ` Ian Kemmish
1998-01-31  5:00       ` David Hinds
1998-02-02  5:00       ` Andrew Harrison SUNUK Consultancy
1998-02-02  5:00         ` Nik Simpson
1998-02-02  5:00           ` Larry Kilgallen
1998-02-04  5:00           ` Justin Banks
1998-02-04  5:00           ` Andrew Harrison SUNUK Consultancy
1998-02-04  5:00             ` Nik Simpson
1998-02-04  5:00               ` Andrew Harrison SUNUK Consultancy
1998-02-04  5:00                 ` Brian Steele
1998-02-07  5:00                   ` Doug Siebert
1998-02-08  5:00                     ` Mark Bonatucci
1998-02-08  5:00                     ` Mark Hahn
1998-02-09  5:00                       ` Rupert Pigott
1998-02-11  5:00                 ` Nik Simpson
1998-02-12  5:00                   ` Andrew Harrison SUNUK Consultancy
1998-02-12  5:00                     ` Nik Simpson
1998-02-12  5:00                       ` J. Buck Caldwell
1998-02-13  5:00                         ` Ketil Z Malde
1998-02-13  5:00                           ` Jonas Persson
1998-02-13  5:00                           ` Nik Simpson
1998-02-14  5:00                             ` bgInc. -- Choice is overrated
1998-02-12  5:00                       ` Andrew Harrison SUNUK Consultancy
1998-02-12  5:00                       ` Emil Briggs
1998-02-12  5:00                     ` Michael Zarudzki
1998-02-13  5:00                     ` Andy Glew
1998-02-18  5:00                     ` billy
1998-02-19  5:00                       ` Terry Shannon
1998-02-20  5:00                         ` Charlie Byrne
1998-02-21  5:00                       ` Tony Griffiths
1998-02-21  5:00                         ` Mike Haertel
1998-02-21  5:00                         ` Gints Klimanis
1998-02-21  5:00                           ` Serge Pachkovsky
1998-02-23  5:00                           ` brianh
1998-02-24  5:00                             ` Eric Hildum
     [not found]                               ` <34F2520F.FC9D8D54@sgi.com>
1998-02-24  5:00                                 ` Eric Hildum
1998-02-23  5:00                                   ` Gints Klimanis
1998-02-25  5:00                             ` Bernd Paysan
1998-02-24  5:00                           ` Graeme Gill
1998-02-27  5:00                             ` Paul Kahler
1998-03-02  5:00                               ` brianh
1998-03-03  5:00                                 ` Bernd Paysan
1998-03-05  5:00                           ` Scott Hess
1998-03-05  5:00                             ` Gints Klimanis
1998-03-06  5:00                               ` Bernd Paysan
1998-03-09  5:00                               ` Jan Vorbrueggen
1998-03-09  5:00                                 ` Gints Klimanis
1998-03-11  5:00                                   ` PJ
1998-03-12  5:00                               ` Scott Hess
1998-03-24  5:00                                 ` Peter Seebach
1998-02-21  5:00                         ` Terry Shannon
1998-02-23  5:00                           ` Eric Hildum
1998-02-26  5:00                             ` Alan Deikman
1998-02-21  5:00                         ` Alex Colvin
1998-02-23  5:00                           ` Del Cecchi
1998-02-24  5:00                             ` Eric Hildum
1998-02-25  5:00                       ` boris
1998-02-25  5:00                         ` Larry Kilgallen
1998-02-25  5:00                         ` bgInc. -- Choice is overrated
1998-02-26  5:00                         ` Mr. X
1998-01-30  5:00   ` Larry Kilgallen
1998-02-01  5:00   ` Bengt Larsson
1998-02-02  5:00     ` Andrew Harrison SUNUK Consultancy
1998-02-02  5:00     ` Anil Thomas Maliyekkel
1998-02-03  5:00       ` Bengt Larsson
1998-02-02  5:00         ` Stefan Monnier
1998-02-04  5:00 ` mulp - cluster buster
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox