comp.lang.ada
 help / color / mirror / Atom feed
From: Colin James 0621 <cjames@dsc.blm.gov>
Subject: Re: Hoare's gripes about Ada (should be so what)
Date: Wed, 25 Aug 93 21:04:08 MDT	[thread overview]
Message-ID: <9308252104.aa09026@dsc.blm.gov> (raw)

  
Ted Holden writes about what Tony Hoare says about Ada.  But Hoare is
not really qualified to have anything but an opinion, being a math
lecturer and not a software engineer (or that dirty word projammer).
  
When in seminary in the UK about ten years ago, I wrote Hoare regarding
an improvement in the pointer performance of his quicksort.  He did not
respond (no $'s ?), unusual for an Oxford don.  
  
But for those interested, I now have an optimized distribution counting
sort (unfortunately I was paid to write it in C since our C compiler did
not come with one).  It works in the same manner as sorting a deck of 
playing cards into suits first.  It is faster than quicksort for all
worst cases and is also stable (equal keys remain in the original order).
I'll share it with those interested since the taxpayer paid for it.
 
Since quicksort was made famous by Hoare (or vice versa), I wonder why
it is so universally used (especially in the C community) when Donald
Knuth's big 0 statistics clearly show distribution counting is faster.

             reply	other threads:[~1993-08-26  3:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-26  3:04 Colin James 0621 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-09-01  3:03 Hoare's gripes about Ada (should be so what) Michael Feldman
1993-09-01 13:14 Ste ve Masticola
1993-09-01 14:15 agate!howland.reston.ans.net!darwin.sura.net!jabba.ess.harris.com!dr3w!sm
1993-09-01 17:02 Mark A Biggar
1993-09-01 22:32 Peter Juhl
1993-09-02  2:38 Robert Dewar
1993-09-02  2:40 Robert Dewar
1993-09-02  3:10 Michael Feldman
1993-09-03 19:44 Wes Groleau x1240 C73-8
1993-09-09 18:53 Dag Bruck
1993-09-09 21:07 Robert Dewar
1993-09-10  0:49 Michael Feldman
1993-09-10 18:08 Dag Bruck
1993-09-13 13:32 Wes Groleau x1240 C73-8
replies disabled

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