From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,2f3b7c37a50d04e6,start X-Google-Attributes: gid109fba,public X-Google-Thread: 1164f8,2f3b7c37a50d04e6,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-12-02 00:17:18 PST Xref: gmd.de comp.lang.c++:39548 comp.sys.dec:12167 Path: gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!sdd.hp.com!usc!aludra.usc.edu!not-for-mail From: manson@aludra.usc.edu (Dirk Manson) Newsgroups: comp.lang.c++,comp.sys.dec Subject: Should we re-host to C++?? Date: 1 Dec 1993 22:12:08 -0800 Organization: University of Southern California, Los Angeles, CA Sender: manson@aludra.usc.edu Message-ID: <2dk0vo$gf6@aludra.usc.edu> NNTP-Posting-Host: aludra.usc.edu Keywords: fortran,c++,dec 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!) References to papers on previous experiences, personal dumps, diatriabs... We'll take anything... Thanks Dirk Manson