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,e7f5eed426d6145 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 06:39:50 PST From: "Ira Baxter" Newsgroups: comp.lang.ada References: <3d88d8bf$1@giga.realtime.net> <1032380280.239075@master.nyc.kbcfp.com> Subject: Re: C++ to Ada translator? Date: Thu, 19 Sep 2002 08:40:53 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: t1-30.realtime.net Message-ID: <3d89d3a4$1@giga.realtime.net> X-Trace: giga.realtime.net 1032442788 t1-30.realtime.net (19 Sep 2002 08:39:48 -0500) Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!giga.realtime.net!not-for-mail Xref: archiver1.google.com comp.lang.ada:29170 Date: 2002-09-19T08:40:53-05:00 List-Id: "Hyman Rosen" wrote in message news:1032380280.239075@master.nyc.kbcfp.com... > Ira Baxter wrote: > > Lots of icky details invariably show up. > > I meant templates and multiple inheritance when I talked > about losing the C++ nature in the translated code. Templates if used in their full generality would be pretty hard to translate. Templates used simply might translate to various kinds of generics. Multiple inheritance can be faked with delegation. Not pretty, but workable. The real question for the OP is how much of the zany parts of C++ does he use, in what kind of volume? If there's only a little bit of the odd stuff, then the "nature" could be preserved probably reasonably. I'll repeat the other comment: often such translations are politically motivated (after all, there are perfectly good, er, usable, C++ compilers, why switch?) If that's really the case, the output doesn't have to be wonderful. It only has to be not terrible. Yes, the downstream engineers suffer. But that always happens when politics intervenes. -- Ira Baxter, Ph.D. CTO Semantic Designs www.semdesigns.com 512-250-1018