From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47327673b9e29af0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-28 11:48:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!not-for-mail From: pontius@btv.mbi.com.invalid () Newsgroups: comp.lang.ada Subject: Re: Ada -> C or C++ translator Date: 28 Jun 2002 18:40:44 GMT Organization: IBM Global Services North -- Burlington, Vermont, USA Message-ID: References: <3D0DD57A.5000402@yahoo.com> <3d0dda3d$1@pull.gecm.com> <3D0DDD18.7090501@yahoo.com> NNTP-Posting-Host: kimon.btv.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.btv.ibm.com 1025289644 29156 9.61.142.122 (28 Jun 2002 18:40:44 GMT) X-Complaints-To: news@btv.ibm.com NNTP-Posting-Date: 28 Jun 2002 18:40:44 GMT X-Newsreader: knews 1.0b.0 Xref: archiver1.google.com comp.lang.ada:26772 Date: 2002-06-28T18:40:44+00:00 List-Id: In article , Kilgallen@SpamCop.net (Larry Kilgallen) writes: > In article <3D0DDD18.7090501@yahoo.com>, David Rasmussen 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