comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada to C Translator
Date: Mon, 01 Jan 2001 17:43:04 GMT
Date: 2001-01-01T17:43:04+00:00	[thread overview]
Message-ID: <92qfj7$7l9$1@nnrp1.deja.com> (raw)
In-Reply-To: alpl29.aph.ln@leia

In article <alpl29.aph.ln@leia>,
  Frode =?ISO-8859-1?Q?Tenneb=F8?= <frodet@nvg.org> wrote:

> I'm not sure what type of application you have, however 15
> years ago  there were a lot fewer languages than today.

That seems clearly false. What is your authority for this
statement/guess. Perhaps you mean that there are fewer
languages with which you are familiar (given the rest of
the message that seems a possibility).

> How many of those languages are alive today?

Virtually all of them. Nothing is more discouraging than seeing
supposedly knowledgable Ada folks decide with no evidence that
other languages have disappeared from sight. It is indeed a
common malady to assume that any language you do not bump into
every day has disappeared (for example, I often meet people who
think that PL/1 has disappeared). But surely Ada folks should
try to avoid this mistake, of all people!

> Can you get an actively maintained compiler for Cobol on a
> modern platform?

A staggeringly ignorant question :-) Yes, of COURSE you can,
and the amount of legacy COBOL out there is huge. Furthermore,
new applications are being generated in COBOL all the time
(that should not be surprising, COBOL is still the most
suitable language for fiscal applications -- yes, you can make
a reasonable technical argument for Ada-95, but most of the
people making language decisions assume that Ada has
disappeared -- see paragraph one above). As for active
maintenance, yes, there are certainly active COBOL compiler
maintenance groups around (e.g. for Computer Associates Realia
COBOL for IBM PC's, or don't these count as modern platforms in
your lexicon? :-)

> What about Forth?

Again, just because you do not bump into it every day, does not
mean it is dead, especially when you have made ZERO attempt to
find out facts. Of *course* Forth is alive and well, and is
used in many applications areas. There is by the way a VERY
nice Forth interpretor for the Palm Pilot, which has been used
to generate a number of Palm applications.

> The only laguage I can think of other than Ada and C which
> has a active compiler support is Fortran - even Pascal is
> struggeling.

Again, the lack of awareness in this statement is remarkably
parochial -- even peculiar, given its inclusion of Ada as one
of three languages still in use -- that would surprise a LOT of
people:-) There are hundreds of languages for which there is
active compiler support, and active application communities,
especially if you use Ada as a standard for what these terms
mean!

By far the most widely used language for PC development is
Visual Basic (although almost never taught in universities,
contrary to other claims you made). And for sure there will
be compiler support for this for a long long time.

> 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++?

Yes, of course it will. Ada advocacy is not helped by FUD like
this which is clearly unfounded. I agree that Ada compilers
will be maintained for 15 years, but that is because I know the
business strategy and plans of Ada Core Technologies. The fact
of the matter is that in terms of future maintenance of
compilers, C++ is in a VERY secure position (as is COBOL
incidentally :-)

> Also, you are switching to NT 4 NOW? NT has already reached
> EOL.

Again, that is unsupported FUD. I am the last person to write
strong words of support for NT, but to say that NT has reached
end of life is absurd.

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

It would vary on how well it was written, because you were
using a non-standardized language, still in flux, on an
obsolescent operating system, yes, you may have more troubles,
but the difficulty in porting programs is often more related to
quality of code than operating environment.

> How about in 10 years?

I don't think it would be any harder to do this port ten
years from now than now, probably easier, because more tools
will be around to help.

Of course I agree that porting Ada code to C++ just for the
sake of porting it seldom makes sense, but let's try to keep
the arguments real. Ada advocacy is not helped by extreme
statements about other languages that are insupportable.

> However, I would get your application running on an older
> version of GNAT for DOS

That seems a poor suggestion, this is a bad environment for the
port, and will make the job much harder (I speak from the point
of view of our experience in helping customers port millions of
lines of legacy code to GNAT).

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

Indeed, and a Linux license is cheaper than a DOS license, so
the conclusion here should be that Linux is an obvious target.
It also supports development work much more reliably than any
of the Microsoft operating systems in our experience.

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

One hour per thousand lines of code is actually rather slow
as a porting rate from our experience, especially for a fairly
small program (we have frequently helped with porting very
large applications in much less time than this on an absolute
basis, let alone a relative basis). But milage can vary, we
have at this stage a LOT of experience in such porting, which
can make things much more efficient, and as I said earlier,
difficulty in porting can reflect poor coding of the original
(the big issue being whether implementation dependent and
system dependent code is properly isolated).

Robert Dewar


Sent via Deja.com
http://www.deja.com/



  parent reply	other threads:[~2001-01-01 17:43 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ø
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 [this message]
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