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, LOTS_OF_MONEY 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-11 16:30:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!demon!btnet-peer0!btnet!psiuk-p2!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: Tue, 11 Jun 2002 09:32:17 -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 1023802338 7970 136.170.200.133 (11 Jun 2002 13:32:18 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 11 Jun 2002 13:32:18 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:25769 Date: 2002-06-11T13:32:18+00:00 List-Id: Please read carefully what I'm saying. If one had a "clean slate" would one deliberately choose to develop a whole new project in multiple languages? Probably only rarely where you had some really unusual, specialized needs. So by that point, any attempt to mix languages is a *compromise* with the ideal situation and should be considered carefully. Sure, if I have a PC-based, interactive user app where software failures aren't life-or-death and the app will probably be toast in a year to eighteen months when the next product cycle starts up and I've got some large body of C code I can leverage, I might choose to mix Ada and C with the Gnat compiler. If I've got an embedded military project that is going to be around for 30 years and has life-or-death consequences, I'm going to be much more eager to pick and choose my tools up front because the costs over the life of the project are far more important. From that perspective, re-engineering a large chunk of C code into Ada and then having to deal with only *one* language is probably the wise choice because the up-front cost is pretty small in comparison to the recurring costs of maintaining two languages. Which gets us back to my original point - for large, long lived, complex projects, those overall costs have to be looked at and if you *do* want to compromise and mix languages, you'd best exercise all due diligence to be sure it is the right decision. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "SteveD" wrote in message news:jomN8.159965$cQ3.4608@sccrnsc01... > "Marin David Condic" wrote > > 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. > > Your projects must involve deeper pockets than ours. We usually try to > reuse as much code as possible... regardless of the language and rarely have > the opportunity to start with a "clean slate". >