comp.lang.ada
 help / color / mirror / Atom feed
From: pontius@btv.mbi.com.invalid ()
Subject: Re: Ada -> C or C++ translator
Date: 28 Jun 2002 18:40:44 GMT
Date: 2002-06-28T18:40:44+00:00	[thread overview]
Message-ID: <afiajc$sf4$2@news.btv.ibm.com> (raw)
In-Reply-To: oOvYmTwBAtFP@eisner.encompasserve.org

In article <oOvYmTwBAtFP@eisner.encompasserve.org>,
	Kilgallen@SpamCop.net (Larry Kilgallen) writes:
> In article <3D0DDD18.7090501@yahoo.com>, David Rasmussen <pinkfloydhomer@yahoo.com> writes:
>> Martin Dowie wrote:
>>>
>>> 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?
>
> It would be more accurate to say that they have a version of their
> AdaMagic product that uses C as an intermediate representation.
> In other settings it is coupled with a different back end and a
> different intermediate representation.
>
>> There might exist good Ada compilers. But I use free tools. I use gcc
>> for Ada, and while it has a good x86 backend, there exist other free
>> compilers such as the free Intel C++ and others that produce even better
>> code. Such a translator would give more choice to the programmer.
>
> But your original post said:
>
>> Does such a translator exist?
>
> with no requirement the translator be free (in any sense of the word).

I asked the same question a few months ago, so here's a different
perspective on the issue...

Picture an area where C/C++ are the normal and supported tools, and
indeed there is an aversion to "weird" stuff like Ada. Even within a
company or area things like this can vary from one department to
another.

So at the moment, while I may prefer to do some development in Ada, I
am being told to "just use normal stuff that someone else can pick up
from you, instead of something weird that will make us write it over."
Keep in mind that software development is also not our main job, rather
something that sometimes needs to be done so we can do our main job.

So I'd like to develop in Ada, and be prepared as needed to move the
code to C/C++, or perhaps Java, if it needs to be given to someone
else. Since there is no support, and hence no budget for this idea, I
need to use free tools. Interface to existing C/C++ libraries is also
necessary. (former easy, latter may need workarounds)

So far since the code hasn't been terribly performance sensitive, I've
been using scripting languages so far. I may be able to keep it there,
but I don't know.

Dale Pontius
NOT speaking for IBM



  parent reply	other threads:[~2002-06-28 18:40 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
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 [this message]
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