comp.lang.ada
 help / color / mirror / Atom feed
From: "Frode Tennebø" <frodet@nvg.org>
Subject: Re: Ada to C Translator
Date: Sun, 31 Dec 2000 00:04:10 +0100
Date: 2000-12-31T00:04:10+01:00	[thread overview]
Message-ID: <alpl29.aph.ln@leia> (raw)
In-Reply-To: 3A4CF58B.A8FF223C@collins.rockwell.com

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; |



  parent reply	other threads:[~2000-12-30 23:04 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-28 14:51 Ada to C Translator Mike K
2000-12-28 16:44 ` Ted Dennison
2000-12-28 17:40   ` Ira D. Baxter
2000-12-28 20:11   ` gdemont
2000-12-29  4:21   ` Dr Adrian Wrigley
2000-12-29  8:08     ` gdemont
2000-12-29 20:35   ` Dave Ptacek
2000-12-29 21:31     ` Marin David Condic
2000-12-30 23:04     ` Frode Tennebø [this message]
2000-12-30 23:31       ` Ted Dennison
2001-01-01 10:17       ` Tarjei T. Jensen
2001-01-01 15:17         ` Larry Kilgallen
2001-01-01 17:43       ` Robert Dewar
2001-01-01 21:00         ` Tarjei Tj�stheim Jensen
2001-01-01 23:38           ` Robert Dewar
2001-01-02 14:54           ` Marin David Condic
2001-01-01 21:01         ` Lao Xiao Hai
2001-01-01 23:41           ` Robert Dewar
2001-01-02 21:36             ` Frode Tennebø
2001-01-03 18:18               ` Robert Dewar
2001-01-03 22:31                 ` Frode Tennebø
2001-01-04  0:01                   ` Brian Rogoff
2001-01-04  1:16                     ` Larry Kilgallen
2001-01-04  2:41                       ` Brian Rogoff
2001-01-03 23:57                 ` Ken Garlington
2001-01-06 20:48             ` Lao Xiao Hai
2001-01-01 22:57         ` Frode Tennebø
2001-01-01 23:49           ` Robert Dewar
2001-01-02 21:39             ` Frode Tennebø
2001-01-03 18:22               ` Robert Dewar
2001-01-03 18:48                 ` Larry Kilgallen
2001-01-03 19:25                   ` Ted Dennison
2001-01-03 22:10                 ` Frode Tennebø
2001-01-01 23:04         ` Frode Tennebø
2001-01-02 22:20           ` Tarjei Tj�stheim Jensen
2001-01-02 18:07         ` Dave Ptacek
2001-01-02 22:45           ` Ted Dennison
2001-01-02 22:54           ` Tarjei Tj�stheim Jensen
2001-01-02 23:43             ` Ted Dennison
2001-01-02 22:57           ` Frode Tennebø
2001-01-03 12:34           ` Marin David Condic
2001-01-03 14:00             ` Ken Garlington
2001-01-03 16:16               ` Marin David Condic
2000-12-28 18:53 ` Ehud Lamm
2000-12-28 20:41 ` tmoran
2000-12-29 12:01 ` Tarjei T. Jensen
2001-01-02 21:58 ` Tucker Taft
  -- strict thread matches above, loose matches on Subject: below --
2006-01-24 19:55 Ada to C++ translator zangnew
2006-01-24 22:39 ` Jeffrey R. Carter
2006-01-24 23:26   ` David Emery
2006-01-25  4:53     ` Jeffrey R. Carter
2006-01-24 23:25 ` Gautier Write-only
2006-01-25  1:15   ` REH
2006-01-25 16:44     ` Martin Krischik
2006-01-25 20:42       ` REH
2006-01-26  9:03   ` Maciej Sobczak
2006-01-25  3:42 ` Bobby D. Bryant
2006-01-25 20:01   ` Florian Weimer
2006-01-25 20:36     ` Martin Dowie
2006-01-25 21:08       ` Florian Weimer
2006-01-25 21:26         ` Randy Brukardt
2006-01-26 11:22           ` Florian Weimer
2006-01-26 17:25             ` Martin Krischik
2006-01-26 18:08               ` Alex R. Mosteo
2006-01-26 18:29               ` REH
2006-01-27 19:13                 ` Martin Krischik
2006-01-26 18:42               ` Florian Weimer
2006-01-27  0:39             ` Randy Brukardt
2006-01-26  1:18     ` Bobby D. Bryant
2006-01-26 18:51       ` Florian Weimer
2006-01-26 17:15     ` Martin Krischik
2006-01-26 18:45       ` Florian Weimer
2006-01-25  9:24 ` Pascal Obry
2006-01-25 22:24 ` Gautier Write-only
2006-01-25 23:19   ` REH
2006-01-26  9:17   ` Maciej Sobczak
2006-01-25 22:30 ` James Alan Farrell
2006-01-27 15:01 ` Charlie McCutcheon
2006-01-29 14:02   ` Marco
2006-01-29 15:12     ` Dmitry A. Kazakov
2006-01-29 15:43     ` jimmaureenrogers
2006-01-30  5:32       ` Hyman Rosen
2000-04-12  0:00 Ada to C++ Translator Brad Crabtree
2000-04-12  0:00 ` David Starner
2000-04-13  0:00 ` Gautier
2000-04-14  0:00 ` Tucker Taft
1997-07-05  0:00 Ada To c translator wisniew
1997-07-06  0:00 ` Jerry van Dijk
     [not found] <dewar.855063471@merv>
     [not found] ` <5d7h2e$q4l$1@news.nyu.edu>
     [not found]   ` <5d90qq$ka7@mulga.cs.mu.OZ.AU>
1997-02-16  0:00     ` Ada to C translator Richard Kenner
1997-02-17  0:00       ` Fergus Henderson
1997-02-26  0:00       ` AlinP
1997-02-26  0:00         ` Robert Dewar
1997-03-21  0:00           ` Keith Allan Shillington
1997-03-26  0:00             ` Geert Bosch
1997-03-26  0:00               ` Tom Moran
1997-03-28  0:00                 ` Robert Dewar
     [not found] <199702041504.PAA11572@sw-eng.falls-church.va.us>
1997-02-09  0:00 ` Robert Dewar
1997-01-21  0:00 Gabriel Rouzaut
1997-01-22  0:00 ` Larry Kilgallen
1997-01-24  0:00   ` Ted Dennison
1997-01-30  0:00   ` Keith Thompson
     [not found]   ` <5d29nv$sqv@mn5.swip.net>
     [not found]     ` <dewar.854940250@merv>
     [not found]       ` <5ddp0u$elq@mn5.swip.net>
1997-02-09  0:00         ` Robert Dewar
1996-08-07  0:00 David Buscaglia
1996-08-09  0:00 ` Robert Dewar
1996-07-11  0:00 ADA to C++ translator Alain PUJOL
1996-07-12  0:00 ` Darren C Davenport
1996-07-13  0:00 ` Vladimir Vukicevic
1996-07-15  0:00 ` Simon A Watts
1996-07-15  0:00   ` David Wheeler
1996-07-15  0:00   ` Robert Dewar
1996-07-16  0:00     ` Simon A Watts
1996-07-15  0:00   ` Darren C Davenport
1996-07-15  0:00   ` Kevin J. Weise
1996-07-16  0:00     ` Simon A Watts
1996-07-16  0:00   ` Richard Krehbiel
1996-07-16  0:00   ` Jon S Anthony
     [not found] <3f10sf$9t1@news.dtc.hp.com>
     [not found] ` <3f1kig$p0d@newstand.syr.edu>
1995-01-12 16:10   ` Ada to C translator Robert Dewar
1994-09-08 21:12 Kevin H. Hunt x7343
1993-08-04 15:51 Joe Fasano
1990-07-27 12:41 /2000
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox