comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Ada vs. C++
Date: 2000/02/14
Date: 2000-02-14T00:00:00+00:00	[thread overview]
Message-ID: <38A87152.1D38C3F9@maths.unine.ch> (raw)
In-Reply-To: 38A7EE61.353F9ECF@edf.fr

(...)
> See is due to the fact that Ada gives a more abstract and precise
> definition of what as to be done, compared to C who tend to stay at a
> lower level. Therefore although  it is easier to write a simple C
> compiler, when it turns to optimization, Ada is much better.
> 
> Borland who made both C and Pascal compilers said the same. Pascal can
> be seen as an "ancestor" of Ada, because it's syntax is quite close.

Interesting... since Borland didn't provide optimisation on their Pascal
compilers (maybe until some recent version of Delphi ?).

Another remark: Pascal (at least the Borland ones...) allows transtyping
*implicitely* (unlike Ada) all integer types between 8,16,32 bits! This
produces horrible machine code that permanently zeroes an upper byte somewhere,
although the programmer doesn't guess anything... Seen plenty of such useless
cases with Pascal->Ada translations.

-- 
Gautier

_____\\________________\_______\_________
http://members.xoom.com/gdemont/gsoft.htm




  reply	other threads:[~2000-02-14  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 ` Preben Randhol
2000-02-11  0:00 ` Tarjei T. Jensen
2000-02-11  0:00   ` Preben Randhol
2000-02-11  0:00   ` Florian Weimer
2000-02-14  0:00     ` Gisle S�lensminde
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 ` Ted Dennison
2000-02-14  0:00 ` Vincent DIEMUNSCH
2000-02-14  0:00   ` Gautier [this message]
2000-02-15  0:00   ` Richard D Riehle
2000-02-15  0:00     ` gdb question, was " tmoran
2000-02-15  0:00       ` Ted Dennison
2000-02-15  0:00       ` Ehud Lamm
2000-02-16  0:00       ` Robert A Duff
2000-03-07  0:00         ` Mike Dimmick
2000-03-07  0:00           ` Jeff Creem
2000-02-16  0:00       ` Stephen Leake
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