From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90c3c79963d78580 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-10 05:53:04 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!typhoon.sonic.net!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!dvdeug From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Newsgroups: comp.lang.ada Subject: Re: Numerical Computation and Ada95 Date: 10 May 2001 06:37:11 GMT Organization: Oklahoma State University Message-ID: <9ddcun$8a21@news.cis.okstate.edu> References: <9dc4sh$ru5$1@ulysses.noc.ntua.gr> <3AF9E3BF.D6D73BEA@linuxchip.demon.co.uk> <9dd9tb$1o56$1@ulysses.noc.ntua.gr> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e555d.dhcp.okstate.edu User-Agent: slrn/0.9.7.0 (Linux) Xref: newsfeed.google.com comp.lang.ada:7458 Date: 2001-05-10T06:37:11+00:00 List-Id: On Thu, 10 May 2001 08:45:25 +0300, N&J wrote: > From what you said I undestand that nobody has ever compared Ada's timing > performance with Fortran77/90/95, C and C++ in programs that require lots of > arithmetic and logical operations (perhaps FFT). I think I will try to do it > when I learn Ada95 better Not true; many people have probably compared it. The point was, thought, that keeping the platform constant, the speed ratio of your conversion of Fortran 77 code to Ada will differ from the speed ratio of my Ada code converted to Fortran 77 will differ from two independent writings of the same algorithm in different languages, which will differ from another pair of independent writings of the same code. Then you have to worry about compilers; if GNAT makes one piece of code run 45% faster then when compiled with ObjectAda, and ObjectAda makes another run 52% faster than when compiled with GNAT, which compiler do you use? Performance between languages is impossible to measure; one system change can change all your results. No matter what you say, there will be expections. Someone quoted an old IBM machine that ran small APL programs faster than any PL/I program could be run. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I don't care if Bill personally has my name and reads my email and laughs at me. In fact, I'd be rather honored." - Joseph_Greg