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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ab76c2183ecc054 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-28 08:50:18 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!nntp1.njy.teleglobe.net!teleglobe.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: Ted Dennison Newsgroups: comp.lang.ada Subject: Re: Ada to C Translator Date: Thu, 28 Dec 2000 16:44:46 GMT Organization: Deja.com Message-ID: <92fqlt$h8d$1@nnrp1.deja.com> References: <92fk1v0cou@drn.newsguy.com> NNTP-Posting-Host: 204.48.27.130 X-Article-Creation-Date: Thu Dec 28 16:44:46 2000 GMT X-Http-User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001207 X-Http-Proxy: 1.0 x69.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 X-MyDeja-Info: XMYDJUIDtedennison Xref: supernews.google.com comp.lang.ada:3426 Date: 2000-12-28T16:44:46+00:00 List-Id: In article <92fk1v0cou@drn.newsguy.com>, Mike K wrote: > Question to the group: > > I have a requirment to convert and application written in ada to c. > Can anyone provide me insight as to any ada to c translators > available? I believe Averstar has a service to do that, but you will have to contact them directly. If you try to do it yourself, its not a trivial task. C operates at a much lower conceptual level than Ada, so you will have to write a large amount of C code to emulate parts of the Ada runtime. Depending on what OS you use, you could luck out and can get your OS to do some of the work for you. But then it won't be as portable as the Ada version was. Either way, you are in for a great deal of work. You will certinaly add new bugs to the system when you write the new code, and you will quite likely also mechanicly port all the system's existing bugs into C. Plus, the end result will not be very C-like, which will make it a nightmare to maintain. Honestly, you'd be better off just writing the system from scratch rather than trying to hand-port it. All this expenditure could be justified if your platform doesn't have an Ada compiler. Otherwise its just a plain silly thing to want to do. You might as well take all your C code and rewrite it in Assembler while you are at it. I wonder if other walks of life have this problem... Do civil engineers rip down a perfectly funtional and stable bridge and rebuild it with the same carrying capcity using different materials? Do automobile owners pay mechanics to take their cars completely apart and reassemble them just becuse the orginial assemblers used different kinds of tools? -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/