comp.lang.ada
 help / color / mirror / Atom feed
* Ada Code Efficiency
@ 1991-02-22 18:13 Charles H. Sampson
  1991-02-23 19:47 ` Michael Feldman
  0 siblings, 1 reply; 4+ messages in thread
From: Charles H. Sampson @ 1991-02-22 18:13 UTC (permalink / raw)



     A few weeks ago I used Cray Ada as an example to show that Ada is not an
inherently slow language; I said that the code produced by Cray Ada is outper-
forming that produced by Cray FORTRAN.

     This assessment was objected to by Phillipe Collard, the project manager
for Cray Ada at Telesoft.  He pointed out that in his presentation at Tri-Ada
'90 he only claimed that Cray Ada's code was outperforming Cray FORTRAN's on
two sets of benchmarks and that Cray Ada was still behind on scalar operations,
but catching up.  He furthermore stated that the primary thrust of the Cray Ada
effort to date has been to vectorize loops, which it is now doing as well as
Cray FORTRAN.  Only now are they beginning to concentrate on improving the
scalar code.

     It's certainly refreshing to meet someone so against vaporware that he
won't even let a disinterested third party do it for him, but I think Phil-
lipe's modesty is a bit excessive.  The two benchmarks in question are Whet-
stone and Dhrystone!

     I still think that Cray Ada is a good counterexample to the idea that Ada
code is inherently slow.  I'll wait for Telesoft to issue an official announce-
ment about the scalar code efficiency, rather than give out the current figure
that Phillipe gave me.  I see no reason why the final figure should be much
less than 100%.  If constraint checks are suppressed, to let Ada and FORTRAN
compete on equal terms, I would expect it to be so close to 100% that any dif-
ference is insignificant.

                               Charlie

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Ada Code Efficiency
@ 1991-02-25  1:40 simonian richard 66449
  0 siblings, 0 replies; 4+ messages in thread
From: simonian richard 66449 @ 1991-02-25  1:40 UTC (permalink / raw)


Our division is currently in the midst of a heated debate with our
customer on this very issue.  Their counterexample is C.  One of their
objections (which they can't really substantiate; they've just heard
of problems) is the performance of Ada on Unix.  My claim is that the
only thing that Unix has to do with Ada performance is in the realm
of tasking, and even then the only problem is when one tries to use
tasks incorrectly.  In-house benchmarks, and data we've gathered from
other sources, indicate that a good Ada compiler with checks on can
approach 90% the performance of the best C compiler, and with checks
off can meet or beat C.  Note that I said _good_ Ada compiler.  There
are dogs out there...  Our basic statement to our customer will be
that this is a compiler issue, not a language issue.



Richard Simonian
Harris Space Systems Corp.  407-633-3800
simonian@x102c.ess.harris.com
rsimonian@nasamail.nasa.gov

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1991-02-25  1:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-02-22 18:13 Ada Code Efficiency Charles H. Sampson
1991-02-23 19:47 ` Michael Feldman
1991-02-23 23:50   ` Jim Showalter
  -- strict thread matches above, loose matches on Subject: below --
1991-02-25  1:40 simonian richard 66449

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