comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Ada vs. C++
Date: 2000/02/11
Date: 2000-02-11T00:00:00+00:00	[thread overview]
Message-ID: <8818nr$aim$1@nnrp1.deja.com> (raw)
In-Reply-To: 38A37C97.9E181025@interact.net.au

In article <38A37C97.9E181025@interact.net.au>,
  G <gmw@interact.net.au> wrote:
>   Has anyone done any measurements on the different speeds and
> memory requirements of comparable applications written in C++
> and Ada95.  I am learning both languages.

No. Compiled procedural languages generally do not have a "speed"
associated with them that can be compared to the speed of other
such languages. How fast your Ada or C++ code runs depends almost
entirely on your design and the quality of your compilers (eg: how well
they optimize). There really isn't anything  pervasive in either
language that can be said to cause every algorithm in one to be slower
than the equivalent in the other. Theoreticly it may be easier for
compilers to optimize Ada than C++ due to Ada's more restrained approach
to pointers and aliasing. But that issue would only have bearing if
every compiler vendor spent the exact same amount of effort trying to
optimize, which they don't.

If you had 2 specific compilers you wanted to compare, that question
would be meaningful. Also, if you were to ask about maintainablity or
readability, you would have a general issue that could be discussed.
This is also a much more meaningful question in these days of desktop
supercomputers.

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-02-11  0:00 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  0:00 Ada vs. C++ G
2000-02-11  0:00 ` Tarjei T. Jensen
2000-02-11  0:00   ` Florian Weimer
2000-02-14  0:00     ` Gisle S�lensminde
2000-02-11  0:00   ` Preben Randhol
2000-02-11  0:00   ` Gary
2000-02-14  0:00     ` Tarjei T. Jensen
2000-02-11  0:00 ` Gautier
2000-02-11  0:00   ` Bobby D. Bryant
2000-02-14  0:00     ` Larry Kilgallen
2000-02-11  0:00 ` Preben Randhol
2000-02-11  0:00 ` Ted Dennison [this message]
2000-02-14  0:00 ` Vincent DIEMUNSCH
2000-02-14  0:00   ` Gautier
2000-02-15  0:00   ` Richard D Riehle
2000-02-15  0:00     ` gdb question, was " tmoran
2000-02-15  0:00       ` Ehud Lamm
2000-02-15  0:00       ` Ted Dennison
2000-02-16  0:00       ` Stephen Leake
2000-02-16  0:00       ` Robert A Duff
2000-03-07  0:00         ` Mike Dimmick
2000-03-07  0:00           ` Jeff Creem
2000-02-15  0:00 ` Marin D. Condic
2000-03-04  0:00   ` Robert I. Eachus
2000-03-04  0:00     ` Marin D. Condic
2000-03-04  0:00     ` Tarjei Tj�stheim Jensen
  -- strict thread matches above, loose matches on Subject: below --
2000-11-20  0:00 Ada Vs. C++ lilach_bien
2000-11-20 23:30 ` Ehud Lamm
2000-11-25  0:00 ` Pete
1991-04-09 21:35 Ada vs. C++ Mario Barbacci
1991-04-11 12:29 ` RICK CARLE
1989-11-17 18:53 Ada Pablo Fernicola
1989-11-18 18:55 ` Ada William Thomas Wolfe, 2847 
1989-11-26  6:09   ` Ada vs. C++ Paul S. R. Chisholm
replies disabled

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