comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Ada Compilers
Date: Mon, 20 May 2002 09:28:40 -0400
Date: 2002-05-20T13:28:41+00:00	[thread overview]
Message-ID: <acatm9$b3t$1@nh.pace.co.uk> (raw)
In-Reply-To: 3CE58053.2020809@gmx.spam.egg.sausage.and.spam.net

Well, from a purely *practical* standpoint (realizing that we are talking
about existing implementations rather than either the language or any
particular compiler) we might say this: Most popular Ada implementations are
generating code that is pretty efficient in comparison to most other
compiled languages. You won't discover that your basic workstation/PC
application programmed in Ada is somehow bog-slow in comparison to the same
thing in some other language typically used for the same application.

Now a few caveats: If you truly have a time-critical application, you'd best
conduct a timing study with algorithms typical of the application at hand.
Compilers (even for the same language) can have a good deal of variance in
terms of the code they generate for different operations. Be sure that when
timing any Ada code, that you either *really* know what you're doing or that
you are working with the vendor to get the best possible optimization. (Its
easy to compile with all runtime checking in place and/or by using
constructs unwisely and discovering you have pretty slow code. Quite often
throwing a few compiler switches, or including a few pragmas or otherwise
tweaking things a bit, you get really nice code. But you need to know...)

There are some Ada implementations for some targets that are extremely
highly optimizing and will do a wonderful job of producing highly efficient
code. Remember that Ada was originally invented for embedded, real time
apps, so it is possible to find very efficient compilers. However, that
isn't saying there are highly efficient compilers for all platforms and
targets. It also isn't saying that they will be efficient for the algorithms
you intend to use. Compiler timing studies are *very* complex to get right.
(I've been through a couple of serious ones) But its the only way to get any
truly useful information.

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


"David Rasmussen" <david.rasmussen@gmx.spam.egg.sausage.and.spam.net> wrote
in message news:3CE58053.2020809@gmx.spam.egg.sausage.and.spam.net...
>
> I know that, of course. My question was of a more pragmatic nature. Most
> languages (ML, Lisp, Java etc.) could have compilers that created as
> good code on a given platform (say x86), as the best C compilers for the
> same platform. But in real life, this is not at all the case. So my
> question was if, in practice, most Ada compilers generate code that is
> comparable to, say, C++ compilers. The question makes a lot of pragmatic
> sense.
>






  parent reply	other threads:[~2002-05-20 13:28 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 [this message]
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
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