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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32cfbb718858528b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-10 21:15:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!news-x2.support.nl!psinet-eu-nl!psiuk-p4!uknet!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Commercial C To Ada 95 compiler Date: Mon, 10 Jun 2002 09:17:16 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3D002D11.CC706952@adaworks.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1023715037 11082 136.170.200.133 (10 Jun 2002 13:17:17 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 10 Jun 2002 13:17:17 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:25718 Date: 2002-06-10T13:17:17+00:00 List-Id: Fair enough, but there is *way* more that goes into the overall costs on a project besides the compiler. Maintaining two languages on the same project means things like maintaining expertise in two languages instead of one. It often means maintenance of different toolsets - especially home-grown tools - to deal with both languages. It can mean increased maintenance headaches because of having to track down bugs in two compilers instead of one. (Even if its the same compiler, its really got two different parts, so you multiply your risk of errors) It can mean increased costs in configuration management. Etc., etc. etc... Some projects are small enough and simple enough that glomming onto some chunk of useful C code and utilizing Gnat to compile both the C and Ada might not present that big of a problem. However, for projects that might be long lived, large, complex, etc., you really would be inviting increased costs and risks by going to multiple languages. I certainly wouldn't choose to do it that way if I had a clean slate (would anyone?) so any attempt to do so is, IMHO, a compromise that needs to be justified carefully. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Stephen Leake" wrote in message news:wkk7p8qgbb.fsf@acm.org... > > I understand this is your example, but I'd like to point out that with > modern compilers, maintaining code in multiple languages is not as > hard as many people seem to think. > > Gnu C and Gnu Ada link together, and work very well together. The same > is true of Greenhills Ada and Greenhills C (although I have not > personally used that combination). > > So keeping parts of the original C while converting parts to Ada > should be given serious consideration. >