From: dougcc@brt.deakin.edu.au (Douglas Miller)
Subject: RE: Should we re-host to C++?? No, use Ada!
Date: Fri, 3 Dec 93 16:32:43 +1100 [thread overview]
Message-ID: <2dmiut$22b@sol.ccs.deakin.edu.au> (raw)
In-Reply-To: 2dk0vo$gf6@aludra.usc.edu
In Article <2dk0vo$gf6@aludra.usc.edu>
manson@aludra.usc.edu (Dirk Manson) writes:
> We have an interesting problem, to which the solution would appear
>to be to use a C++/OO approach... but we have one major concern EFFICIENCY??
>
>The problem : We have a fairly large (about 75,000 lines) application
> that needs to be re-architected and re-coded. The basic
> attributes of the application are as follows:
> * Near real-time data processing
> * Rapid prototype spaghetti code (VMS Fortran)
> * Runs primarily in a DEC VMS environment
> * Many processes with gobs of shared memory
> * Data crunching vs data management is split 30/70 in lines of code
> * Data crunching vs data management is split 80/20 in CPU usage
> * 100% utilization of current processing power
>
> We believe strongly in all the benefits of C++/OO, especially
>portability, since we will eventually need to be able to run our system
>on different hosts. But weUll also be out of a job if we deliver
>a product that cannot process at least the same data rates as the
>current prototype system.
>
> Some of our preliminary benchmarks indicate there may be a significant
>performance hit for going to C++... does anyone out there have experience with
>this kind of conversion excersize, or have any insights into what we should do?
>
> Ideas we are toying with include:
> * Trashing the whole C++ experiment in favor of speedy Fortran
> * Building our main system in C++, using Fortran for CPU hogs
> * Switching to ADA instead (just kidding!)
Switch to Ada. You say you are concerned with portability --- Ada
wins hands-down on this score. Also Ada has better features than any
other language for data modelling/abstraction which is going to pay
dividends for you in code reliability and maintainability. The only
way C++ might be ahead at the moment is if you regard
dynamic-polyphoric-multiple-inheritance whatever as an advance over
traditional Ada features such as packages (and I say the jury is still
out on this one), because Ada won't have this until the Ada 9X
standard is finalised.
Other possible advantages in your case:
o Maybe multiple processes with shared memory could be implemented
with Ada tasks, giving the advantage of complete portability.
o DEC's Ada compiler has a reputation for being one of the best (if
not the best) in the industry, so your concerns over efficiency
may not be an issue.
prev parent reply other threads:[~1993-12-03 5:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-12-02 6:12 Should we re-host to C++?? Dirk Manson
1993-12-02 7:23 ` Dag Bruck
1993-12-02 14:01 ` Hans Wegener (in Ergo/WoK)
1993-12-03 13:49 ` mat
1993-12-07 4:01 ` Matt Kennel
1993-12-03 5:32 ` Douglas Miller [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox