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,LOTS_OF_MONEY autolearn=ham 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 12:21:28 PST Path: supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Message-ID: <3A4C1155.68F1B0FD@linuxchip.demon.co.uk.NOSPAM> From: Dr Adrian Wrigley X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.14-5.0smp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada to C Translator References: <92fk1v0cou@drn.newsguy.com> <92fqlt$h8d$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 28 Dec 2000 20:21:41 -0800 NNTP-Posting-Host: 62.253.132.48 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 978034822 62.253.132.48 (Thu, 28 Dec 2000 20:20:22 GMT) NNTP-Posting-Date: Thu, 28 Dec 2000 20:20:22 GMT Organization: ntl Cablemodem News Service Xref: supernews.google.com comp.lang.ada:3435 Date: 2000-12-28T20:21:41-08:00 List-Id: Ted Dennison wrote: ... > 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? ... Yes! Here in Cambridge (England), civil engineers pulled down a very well constructed bridge (The Victoria Avenue Bridge), made of stone and iron, to replace it with something visually similar of steel. The cost (IIRC) was several million pounds, and a lot of inconvenience. The reason was that the original bridge could not be proved to be strong enough for the modern traffic load, because inspection of key structures was not possible, and the plans were not available. Only once the project was well under way, and the bridge was in pieces was it possible to tell that the work was unnecessary. The work completed as planned. (corrections to my memory of this welcome!) To switch back to the underlying topic... I agree with those who say that Ada to C porting of source code is of extremely limited value. If Ada were prohibited for the project, you might find it useful to generate C source files as part of a multi-stage compilation process, and then tweak or replace certain C files as necessary. I imagine that such an approach might be useful with 'end of life' applications, when someone suddenly offers lots of money for it to run on a machine with no Ada compiler (Alpha Linux? Macintosh? ARM?), and a short timescale. Or maybe the customer demands C source in the contract. Or maybe the management doesn't have a sufficient supply of willing Ada programmers to maintain the project, but doesn't like the thought of a total rewrite. just a thought... -- Adrian Wrigley