comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Numerical Computation and Ada95
Date: Thu, 10 May 2001 06:48:28 GMT
Date: 2001-05-10T06:48:28+00:00	[thread overview]
Message-ID: <0RqK6.1537$%i7.1382275@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 9dd9tb$1o56$1@ulysses.noc.ntua.gr

>From what you said I undestand that nobody has ever compared Ada's timing
>performance with Fortran77/90/95, C and C++ in programs that require lots
>of arithmetic and logical operations (perhaps FFT).  I think I will try to
>do it when I learn Ada95 better
  There was a substantial comparison someplace (perhaps Ada Letters?)
some time ago, but I don't remember just when.  Try looking in
www.adapower.com, www.adahome.com, or www.adaic.org  A simple minded
transliteration from one language to another can have pitfalls,
accessing arrays in row-major vs column-major order being an example.
When I went to translate an algorithm from "Numerical Recipes in
Fortran" it became obvious during the translation to Ada that the
Fortran version was doing some extra, wasted, iterations.  Do you want
to compare the Fortran version against an exact translation that
includes those wasted cycles, or against an Ada version that preserves
the algorithm, but not the poor coding?  It's not always obvious
what's the appropriate comparison.



  parent reply	other threads:[~2001-05-10  6:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-09 19:13 Numerical Computation and Ada95 N&J
2001-05-09 19:42 ` David Starner
2001-05-10 12:23   ` Pat Rogers
2001-05-10 13:51   ` Ted Dennison
2001-05-10 18:21   ` Jeffrey Carter
2001-05-09 19:43 ` Ted Dennison
2001-05-09 21:57 ` James Rogers
2001-05-10  0:41 ` Dr Adrian Wrigley
2001-05-10  5:45   ` N&J
2001-05-10  6:37     ` David Starner
2001-05-10  6:48     ` tmoran [this message]
2001-05-10 20:12       ` Gary Scott
2001-05-10 14:04     ` Ted Dennison
2001-05-11 14:15       ` Marin David Condic
2001-05-10 20:08     ` Gary Scott
2001-05-11 11:58       ` Larry Kilgallen
2001-05-11 11:31         ` Dan Nagle
2001-05-11 14:33         ` Gary Scott
2001-05-11  4:00     ` Lao Xiao Hai
2001-05-11 14:03     ` Marin David Condic
2001-05-10  8:00 ` Martin Dowie
2001-05-10 14:11   ` Ted Dennison
2001-05-10 15:46     ` Martin Dowie
2001-05-10 13:54 ` Martin Stift
2001-05-11  5:59   ` mike
2001-05-10 19:07 ` Laurent Guerby
2001-05-10 20:49 ` N&J
2001-05-11 16:28   ` Jean-Pierre Rosen
2001-05-11 18:28     ` Marin David Condic
2001-05-13 21:42   ` Gautier de Montmollin
2001-05-11  2:02 ` DuckE
replies disabled

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