I would love to share it, but there are two problems with
doing so. The worst of the two is that the code is in a
classified facility and was done on a gov't contract so it
can't quickly and easily be approved and extracted for
general distribution. Our sponsor has to approve all
distributions of the code and, although the code is not
classified, it would still have to go through the procedure
for taking anything out of the facility.
Second, it is integrated into our Ada NetCDF binding. The
purpose of this sort code was to hide sorting of a NetCDF
file in an Ada package as though the user were just reading
In fact, I would like to share our Ada NetCDF binding,
but haven't gotten anywhere yet because of the current
For those of you reading this who aren't familiar with
NetCDF, see <http://www.unidata.ucar.edu/packages/netcdf/>.
Terry J. Westley, Software Development Manager
Veridian Engineering, Information Warfare
[log in to unmask] http://www.veridian.com/
> -----Original Message-----
> From: Team Ada: Ada Advocacy Issues (83 & 95)
> [mailto:[log in to unmask]]On Behalf Of Steven Deller
> Sent: Friday, September 29, 2000 11:42 AM
> To: [log in to unmask]
> Subject: Re: Sorting Algorithms
> I have an Ada heapsort that improves on the Knuth algorithm (minor
> improvement to cut startup loops in half) and is written, I believe, to be
> very clearly readable. Would you care to swap sources?
> > -----Original Message-----
> > From: Team Ada: Ada Advocacy Issues (83 & 95)
> > [mailto:[log in to unmask]]On Behalf Of Terry Westley
> > Sent: Friday, September 29, 2000 9:09 AM
> > To: [log in to unmask]
> > Subject: Re: Sorting Algorithms
> > Of course, if analysis of algorithms is your goal, you should be
> > able to use a C/C++ book. Though not Ada, my favorite is still my
> > university text: Wirth's "Algorithms + Data Structures = Programs."
> > I find Pascal easier to read than MIX.
> > Just a week ago, I implemented heap sort with guidance from Wirth.
> > --
> > Terry J. Westley, Software Development Manager
> > Veridian Engineering, Information Warfare
> > P.O. Box 400, Buffalo, NY 14225
> > [log in to unmask] http://www.veridian.com