comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: Ada -> C or C++ translator
Date: Mon, 17 Jun 2002 13:51:24 +0100
Date: 2002-06-17T13:51:24+01:00	[thread overview]
Message-ID: <3d0dda3d$1@pull.gecm.com> (raw)
In-Reply-To: 3D0DD57A.5000402@yahoo.com

"David Rasmussen" <pinkfloydhomer@yahoo.com> wrote in message
news:3D0DD57A.5000402@yahoo.com...
> I know that some Ada features don't have portable counterparts in C or
> C++ (like concurrency), but does some sort of translator exist from Ada
> to C or C++? It could use C or C++ as an Intermediate Representation
> language similar to what the Comeau C/C++ compiler does. This way, one
> could do the development with Ada and have all the advantages of Ada,
> and end up with hopefully more correct code, and then for the release,
> one could translate to C or C++ and use some of the very effecient
> compilers for these languages. I realize that the support of some parts
> of Ada's runtime system (like exceptions) wont be intact, but for
> projects where this isn't important, such a translator could still be
> useful.

Why do you suspect that an Ada compiler won't give you decent performance?
The performance of today's Ada95 compilers seem pretty much on a par with
the C/C++ compilers I'm using. There is an argument that they should be
able to produce more efficient code too but other than the 'famous' Tartan
compiler paper, I have yet to see much evidence of this.

Didn't Averstar/Intermetric's Ada compiler use 'C' as an intermediate
representation?





  reply	other threads:[~2002-06-17 12:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 12:26 Ada -> C or C++ translator David Rasmussen
2002-06-17 12:51 ` Martin Dowie [this message]
2002-06-17 12:59   ` David Rasmussen
2002-06-17 14:21     ` Larry Kilgallen
2002-06-17 14:19       ` David Rasmussen
2002-06-28 18:40       ` pontius
2002-06-29  1:47         ` tmoran
2002-07-01 14:30           ` pontius
2002-07-03 15:16         ` Robert I. Eachus
2002-07-13 22:55           ` David Thompson
2002-06-18 23:41 ` Robert A Duff
2002-06-19  0:21   ` exceptions and C functions (was Re: Ada -> C or C++ translator) Dale Stanbrough
2002-06-19  1:44     ` Robert A Duff
2002-06-19 14:32       ` Wes Groleau
2002-06-19 17:33         ` Robert A Duff
2002-06-19 17:58           ` Wes Groleau
2002-06-19 19:17             ` Robert A Duff
replies disabled

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