comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Ada Compilers
Date: Thu, 16 May 2002 09:30:09 -0400
Date: 2002-05-16T13:30:11+00:00	[thread overview]
Message-ID: <ac0c93$gqi$1@nh.pace.co.uk> (raw)
In-Reply-To: slrnae79li.oe.randhol+abuse@kiuk0156.chembio.ntnu.no

Not entirely fair. It is perfectly fair to ask about the quality of code
generation for specific language implementations. Efficiency is a reasonable
concern - sometimes a *critical* concern such as when dealing with hard
realtime constraints.

The best answer is that there are very good, highly optimizing Ada compilers
that can produce code every bit as tight as the best C/C++ compilers for
similar programs. The caveat is that you can *only* talk about specific
compilers and targets - not about the language in general. For example, (as
observed elsewhere) the GNAT compiler and the GCC C/C++ compilers share the
same back end & generate pretty much identical code for identical programs
of different languages. Is GCC a "good" compiler for the x86 PC? Most people
think so. Hence, GNAT is going to be just as efficient - sometimes even
moreso - than C or C++ going through the GCC compiler. Are there *better*
compilers out there than GCC/GNAT? Maybe - for a given platform - and for
given algorithms/applications - and some of them will compile Ada while
other compile C or C++ or Fortran or who knows what. If efficiency is a
critical concern, the only hope is to conduct timing studies comparing
different implementations for the problems at hand. If efficiency is just a
casual concern, then rest asured that there are implementations of Ada that
are Good Enough.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com


"Preben Randhol" <randhol+abuse@pvv.org> wrote in message
news:slrnae79li.oe.randhol+abuse@kiuk0156.chembio.ntnu.no...
> On Thu, 16 May 2002 13:25:22 +0200, David Rasmussen wrote:
> >
> > I mean how good is the generated machine code on various CPU's (x86 for
> > instance) with typical Ada compilers as compared with typical C++
compilers?
> >
>
> Why? The important question is how good is the quality of the software
> produced with Ada compared to C++.
>






  parent reply	other threads:[~2002-05-16 13:30 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 18:55 Ada Compilers David Rasmussen
2002-05-15 19:32 ` Marin David Condic
2002-05-15 20:45 ` Jacob Sparre Andersen
2002-05-15 21:00   ` Marin David Condic
2002-05-15 21:38   ` Pascal Obry
2002-05-15 22:35     ` Kai Schuelke
2002-05-16 10:27       ` Preben Randhol
2002-05-16 10:37       ` Dmitry A. Kazakov
2002-05-16 13:51         ` Martin Dowie
2002-05-16 15:06       ` Ted Dennison
2002-05-17  1:22         ` Robert Dewar
2002-05-17 14:56           ` Ted Dennison
2002-05-17  1:23         ` Robert Dewar
2002-05-16 16:59       ` Pascal Obry
2002-05-16 18:50         ` Kai Schuelke
2002-05-17  1:19           ` Robert Dewar
2002-05-17 13:38         ` [off-topic] "free" Wes Groleau
2002-05-17 14:51           ` Preben Randhol
2002-05-16 15:03   ` Ada Compilers Fraser Wilson
2002-05-16 15:19     ` Florian Weimer
2002-05-16  1:07 ` Florian Weimer
2002-05-16 13:16   ` Marin David Condic
2002-05-17 22:12     ` David Rasmussen
2002-05-19 21:14       ` Jacob Sparre Andersen
2002-05-20 13:28       ` Marin David Condic
2002-05-21 21:31         ` Greg Bek
2002-05-22  1:47           ` Robert Dewar
2002-05-22 13:52           ` Marin David Condic
2002-05-23 11:01             ` John R. Strohm
2002-05-23 13:29               ` Marin David Condic
2002-05-23 15:50               ` Ted Dennison
2002-05-23 16:39               ` Larry Kilgallen
2002-05-16  2:09 ` Steve Doiel
2002-05-16 10:33 ` Preben Randhol
2002-05-16 10:34   ` Preben Randhol
2002-05-16 11:25   ` David Rasmussen
2002-05-16 12:31     ` Preben Randhol
2002-05-16 13:25       ` David Rasmussen
2002-05-16 13:42         ` Steve Doiel
2002-05-16 14:37           ` David Rasmussen
2002-05-16 19:12         ` Preben Randhol
2002-05-17 15:08         ` Ted Dennison
2002-05-16 13:30       ` Marin David Condic [this message]
2002-05-17  8:51         ` Preben Randhol
2002-05-16 17:03   ` Pascal Obry
2002-05-17 15:11     ` Ted Dennison
2002-05-17 16:25       ` Pascal Obry
2002-05-18  7:07         ` Simon Wright
2002-05-18  7:57           ` Pascal Obry
2002-05-19  2:50         ` David Botton
2002-05-17 17:40       ` Preben Randhol
2002-05-18 10:44       ` Jerry van Dijk
2002-05-20 16:55         ` Ted Dennison
2002-05-20 18:47           ` Jerry van Dijk
  -- strict thread matches above, loose matches on Subject: below --
2012-11-24 15:55 Ada compilers arkavae
2012-11-24 18:56 ` Niklas Holsti
2012-11-24 18:57 ` Gautier write-only
2005-06-03 18:55 ADA compilers Patty
2005-06-03 19:04 ` Pascal Obry
2005-06-03 19:12 ` Patty
2005-06-03 19:21   ` Dmitry A. Kazakov
2005-06-03 20:37     ` Björn Lundin
2005-06-03 20:25   ` Jeff C
2005-06-03 20:31   ` Keith Thompson
2005-06-03 20:36   ` Björn Lundin
2005-06-04  5:29   ` Jeffrey Carter
2005-06-04  6:32 ` Martin Krischik
2002-05-20 17:39 Ada Compilers David Humphris
     [not found] <mailman.1021886521.4259.comp.lang.ada@ada.eu.org>
2002-05-20 16:46 ` Ted Dennison
1997-11-13  0:00 Nathan A. Barclay
1997-11-13  0:00 ` bklungle
1996-06-16  0:00 ADA Compilers A REILLY
1996-06-18  0:00 ` Jon S Anthony
1993-03-14 12:34 Ada Compilers David Leslie Garrard
1991-04-19 15:22 ADA COMPILERS douglassalter@ajpo.sei.cmu.edu,
1990-01-17 18:49 ADA compilers John Ostlund
1989-11-15 23:18 Ada Promises Doug Schmidt
1989-11-16 22:45 ` Ada compilers William Thomas Wolfe, 2847 
     [not found] <1989Sep <3161@amelia.nas.nasa.gov>
1989-09-29 13:47 ` Ada Compilers Robert Cousins
1989-09-15 20:35 Kelvin W. Edwards
1989-04-11 17:01 ada compilers Kjartan R. Gudmundsson
replies disabled

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