comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <eachus@mitre.org>
Subject: Re: Estimating conversion of Ada 83 to Ada 95
Date: 1999/06/09
Date: 1999-06-09T00:00:00+00:00	[thread overview]
Message-ID: <375EC59E.6876DCE9@mitre.org> (raw)
In-Reply-To: 7jj9kr$2hr$1@news2.tor.accglobal.net

"Terry J. Westley" wrote:

> We're converting a 640 KSLOC real-time, distributed simulation from
> Ada 83 (VADS) to Ada 95.  I expect most of the work will be replacing
> VADS-specific packages with Ada 95 library packages and POSIX packages.

> Based on some limited conversion work we've already done, I'm using
> 162 LOC/Hour for converting from VADS to GNAT Ada 95 for those files
> which include lots of special stuff such as OS calls, use of VADS
> packages, use of Oracle Pro*Ada, etc.  For the rest, I figure it'll
> be at least 5 times faster than that, for a conversion rate of
> 812 LOC/Hour.  This includes conversion, compilation, and testing.

    If the Pro*Ada stuff is pervasive, the estimate is very optimistic.
Pro*Ada is the one area where I have found that you are often better off
rewriting using ODBC or some such.  Maybe you can convince Oracle to
create GNAT versions of the support packages for Pro*Ada, but in the
cases I have converted, using a vendor independent interface had two
benefits:

    1) I wouldn't have to do it again.
    2) The size of executables shrank significantly.
 
> I expect we'll use the GNAT Ada83 switch for the first pass, then
> turn it off to see what happens.

    You can, but I have never found much benefit from it.  It is much
more useful for making sure your code is Ada 83 compatible.

> Anyone have any evidence that I'm way off on this estimate?

    Pro*Ada is one that I almost mentioned on the Team Ada list.  I've
tried going the minimal conversion route and not been very happy.

-- 

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




      parent reply	other threads:[~1999-06-09  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-08  0:00 Estimating conversion of Ada 83 to Ada 95 Terry J. Westley
1999-06-08  0:00 ` Robert Dewar
1999-06-09  0:00   ` Paul Hussein
1999-06-08  0:00 ` Robert Dewar
1999-06-08  0:00 ` James E. Hopper
1999-06-08  0:00 ` David C. Hoos, Sr.
1999-06-08  0:00   ` Robert Dewar
1999-06-08  0:00   ` Jean-Pierre Rosen
1999-06-09  0:00 ` Robert I. Eachus [this message]
replies disabled

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