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 X-Google-Thread: 103376,9ab76c2183ecc054 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-30 14:57:22 PST Path: supernews.google.com!sn-xit-02!supernews.com!216.227.56.88.MISMATCH!telocity-west!TELOCITY!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!128.39.3.166!uninett.no!leia!nobody From: Frode =?ISO-8859-1?Q?Tenneb=F8?= Newsgroups: comp.lang.ada Subject: Re: Ada to C Translator Date: Sun, 31 Dec 2000 00:04:10 +0100 Organization: UNINETT news service Message-ID: References: <92fk1v0cou@drn.newsguy.com> <92fqlt$h8d$1@nnrp1.deja.com> <3A4CF58B.A8FF223C@collins.rockwell.com> NNTP-Posting-Host: anne-bremnes.hiof.no Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Trace: snipp.uninett.no 978216911 16368 158.36.52.48 (30 Dec 2000 22:55:11 GMT) X-Complaints-To: news-abuse@uninett.no User-Agent: KNode/0.3.2 Xref: supernews.google.com comp.lang.ada:3478 Date: 2000-12-31T00:04:10+01:00 List-Id: Dave Ptacek wrote: > An interesting viewpoint. While I been using Ada for the better share > of 13 years, and do see several benefits when comparing it to C/C++, > I'm currently in a project that is considering the porting of approx. > 100k Ada sloc to C++. > > Over the years (15), this particular application became very domain > specific, was designed to run on DOS (real mode and later protected > mode), > and is now heading to WinNT 4.0. Try finding people with Ada, > assembler, DOS, Windows, MFC, various communication buses, an > appreciation for creating test applications for factory test and > lastly willing to re-locate to a > "small" midwestern town. We usually end up training inexperienced > people and hope they will stay. > > Not that Ada is the limiting factor in all of this, but most new > college grads will have a C/C++ background and realize that Windows > programming in > C/C++ looks pretty good on a resume. True, C++ was very hot in college a few years back. However, my bet is that C/C++ is not very common for new college grads these days. Java is probably the most tought language today, with Visual Basic as a good contender (I don't have any hard numbers - if someone have, please arrest me). Tomorrow it will most likely be C# or something else. I'm not sure what type of application you have, however 15 years ago there were a lot fewer languages than today. C++ was not even thought of. How many of those languages are alive today? Can you get an actively maintained compiler for Cobol on a modern platform? What about Forth? The only laguage I can think of other than Ada and C which has a active compiler support is Fortran - even Pascal is struggeling. My point is that with Ada, you will most likely get a maintained compiler for a current platform in 15 years. Will this be true for C++? Also, you are switching to NT 4 NOW? NT has already reached EOL. If you had written any legacy application with C++ on Windows 3.11 five years ago - how easy would it be to port it to any platform today? How about in 10 years? > Throw in the integrated > programming environment (Visual Studio) and several educational houses > providing immediate Windows training programs (Learning Tree), the > idea of porting the > source code from Ada to C/C++ becomes an attractive option. Is it > technically the best design choice? For this particular application > mentioned above, probably due to the OS choice and development > toolsets available, but I certainly wouldn't make a general statement > that it's the best choice for every situation. Again, without the knowledge of your system I don't have all the answers. However, I would get your application running on an older version of GNAT for DOS (if you don't require later versions' added bonuses) and then port it to most operating sytem of your choice. Depending on the cost structure of your system, a W2K license can be significant compared to eg. Linux or BSD or even Solaris these days. I performed the major part of 'porting' a 200K SLOC (sic) of code from SunAda 3 running on Solaris 2.5.1 to GNAT on Solaris 8 in less than 200 hours. Appart from some socket code I have identified, I'm pretty confident that everything will compile on Linux without changes when we get there. -Frode -- ^ Frode Tenneb� | email: frodet@nvg.org | Frode@IRC ^ | with Standard.Disclaimer; use Standard.Disclaimer; |