From: handleym@apple.com (Maynard Handley)
Subject: Re: Wildfire and NT
Date: 1998/02/25 [thread overview]
Message-ID: <handleym-2502981031210001@handma.apple.com> (raw)
In-Reply-To: 34F3B7C5.5FD1@earthlink.net
In article <34F3B7C5.5FD1@earthlink.net>, Sean Burke
<Iburke@earthlink.net> wrote:
> 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! :^)
I think it's issues like this that people forget. Often the extra overhead
of current systems is NOT simply mass stupidity on the part of all
involved. It's a reflection of
(1) bending over backwards to be compatible with the past
(2) trying to incorporate as much flexibility as possible into what's now
being done.
One can compare, for example, the fairly lean dispatch of COM or BeOS
(basically a vtable) with the more heavyweight dispatch of SOM or
QuickTime components. Sure the former is faster and simpler to code up.
But the latter allows one to grow a whole lot more cleanly.
At least some of the extra crud that lives in OSs and apps is impedance
matching between pieces of code written by independent groups. Sure in an
ideal world everyone would get together to bypass the glue and use more
efficient interfaces. In the real world this is simply not feasible.
The other part of course is that we simply want more.
You can write an MPEG decoder that plays forward in maybe 50K of code. But
if you also want it to play backward, that's not just another 5K---it's a
re-architecting that doubles the size. If you add in frame-accurate random
access, you double the size again. If you want the video and audio to be
able to be piped through third party pieces of code that can then apply
their own effects to them, you double the code size again.
I am not personally familar with NT, apart from just knowing the overall
ideas. However I suspect that the people claimining it's "all of UNIX"
only 5 times as large are being disingenous. My suspicion is that the
parts that are directly comparable to UNIX are of similar size, but that
there are large parts that are NOT comparable to UNIX. For example the
file system is a whole lot richer. Or the crud in there to deal with
DOS/Win95 apps.
I think such complaints would be a whole lot more useful if people were to
specify exactly how pieces of software being compared to each other
differed in functionality.
(Finally let me say that I would not disagree with the assessment that
much modern code sucks---I was flabbergasted at being shown a project that
generates the user interface for some network code that consisted of over
1000 files! It seemed to be based on adding together the code from 20
previous projects with no attempt to winnow the results. This stuff does
happen. However there are also architectural differences between what
MacOS or WinNT are trying to do and what UNIX is trying to do, and those
differences are not purely stupidity, and they are not free in code space
and time.)
Maynard
--
My opinion only
next prev parent reply other threads:[~1998-02-25 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 ` David Hinds
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Del Cecchi
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-24 5:00 ` Sean Burke
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Maynard Handley [this message]
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 ` Ruud Bruijnesteijn
1998-03-01 5:00 ` scott
1998-03-02 5:00 ` Terry Moore
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 ` Kaz Kylheku
1998-03-02 5:00 ` Martin Tom Brown
1998-03-02 5:00 ` Kaz Kylheku
1998-03-01 5:00 ` Larry Kilgallen
1998-03-01 5:00 ` [++] Tight coding (comp.sys.dec-only thread) Bill Moyer
1998-03-02 5:00 ` [++] Tight coding Peter Moylan
1998-03-02 5:00 ` Martin Harvey
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-03 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` Wildfire and NT 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 ` 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 Hahn
1998-02-09 5:00 ` Rupert Pigott
1998-02-08 5:00 ` Mark Bonatucci
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 ` Andrew Harrison SUNUK Consultancy
1998-02-12 5:00 ` Emil Briggs
1998-02-12 5:00 ` J. Buck Caldwell
1998-02-13 5:00 ` Ketil Z Malde
1998-02-13 5:00 ` Nik Simpson
1998-02-14 5:00 ` bgInc. -- Choice is overrated
1998-02-13 5:00 ` Jonas Persson
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-02-04 5:00 ` Justin Banks
1998-01-30 5:00 ` Larry Kilgallen
1998-02-01 5:00 ` Bengt Larsson
1998-02-02 5:00 ` Anil Thomas Maliyekkel
1998-02-03 5:00 ` Bengt Larsson
1998-02-02 5:00 ` Stefan Monnier
1998-02-02 5:00 ` Andrew Harrison SUNUK Consultancy
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