comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Ada Compilers
Date: Wed, 15 May 2002 15:32:12 -0400
Date: 2002-05-15T19:32:14+00:00	[thread overview]
Message-ID: <abud3u$79r$1@nh.pace.co.uk> (raw)
In-Reply-To: 3CE2AF22.2060208@gmx.spam.egg.sausage.and.spam.net

"David Rasmussen" <david.rasmussen@gmx.spam.egg.sausage.and.spam.net> wrote
in message news:3CE2AF22.2060208@gmx.spam.egg.sausage.and.spam.net...
> What is the best free Ada compiler available?

AFAIK, there are only two that are free. ObjectAda (which comes in a limited
version as a kind of "trial" size) and GNAT. Of the two, GNAT is generally
used more because it is not limited - its the full-up production quality
compiler.

There are also some that could be considered "cheap" (money-wise). RR
Software and ObjectAda have versions that are priced within the reach of an
average hobbyist.

>
> I know that question is probably silly and will get me redirected to the
> faq.

See: http://www.adapower.com/ for more info. (Including the FAQ)

Look under "Links" for Ada compilers and vendors. Also under Resources.


Still, I would like to hear _people's_ opinion, instead of the
> usual "we can't say what's best, that's relative".
>
For the record: "we can't say what's best, that's relative". :-) It truly
is, because it depends on what you want to do with it. If you want a
recommendation about what is "best" for a hobbyist with a PC and Windows who
just wants to learn Ada for general purpose software development, I'd say
that GNAT is probably best. You can't beat its price/performance ratio! But
the issue can become immediately sticky the moment you start introducing
other variables - type of application, host/target hardware,
embedded/realtime, required level of support, etc.


> More importantly, what do the free compilers lack in contrast to the
> commercial ones?
>
The free compilers generally won't supply you with any support for the money
you aren't paying. However, if you need support, there are ways to get it -
you just have to open up your wallet. You also won't have the kinds of
selection of targets and such that for-money compilers typically can
provide. You also won't get all of the available tools or the
latest/greatest versions of things either. You get what you pay for - should
be pretty obvious, eh?


> Also, how portable is typical Ada, and how good is code generation
> compared to C++ on the same platform (typically)?
>
Ada is extremely portable. You have to know something about how to make code
portable since you can always hook yourself into platform dependencies no
matter what language you're given. Ada is generally more portable than C++
because compilers have to run a validation suite & AFAIK, most C++ compilers
aren't being validated against the latest standard. (Lots of known variance
between the different compilers and the standard.) I have ported large apps
a number of times between Alpha/VMS, Sun/Unix and PC/Windows & had
surprisingly few problems - often requiring nothing more than a recompile.
But then again, I *knew* I'd have to port so I wasn't hooked into platform
dependencies - or had them isolated where the problems would be minimized.

Quality of code generation? You can't compare this. Its been discussed here
many times. The *language* doesn't determine the quality of code generation.
The *implementation* does. Some compilers are better than others - and
that's all you can hope to compare. (For example: "How good is this version
of the GNAT Ada compiler on a PC versus that version of the MSVC++ compiler
for the PC given this specific collection of algorithms/code?")

That said, there is nothing inherent in Ada that would make it less
efficient than C/C++. Many implementations of Ada generate code that is as
good or better than many implementations of C/C++ for equivalent programs.
So don't worry that Ada is going to somehow or other be "slow". You have to
pick a quality compiler that produces good code for the types of algorithms
you usually write and you have to know the language/implementation well so
that you can get the most out of it.

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





  reply	other threads:[~2002-05-15 19:32 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 [this message]
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
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