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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd3a5ba6349a6060 X-Google-Attributes: gid103376,public From: Dan Nagle Subject: Re: should I be interested in ada? Date: 1999/02/18 Message-ID: <36CC6AC0.25DBE56D@erols.com>#1/1 X-Deja-AN: 445795203 Content-Transfer-Encoding: 7bit References: <7a72e6$g55$1@probity.mcc.ac.uk> <36C93BB4.1429@ecs.soton.ac.uk> <7afc1o$3mi$2@plug.news.pipex.net> <7afttr$7v3$1@nnrp1.dejanews.com> <7aganu$qsc$1@plug.news.pipex.net> <36CC11A1.C7A71642@hercii.mar.lmco.com> <7ahkn0$kab$1@plug.news.pipex.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rcn.com X-Trace: nfXcoD4NSSZk31BWs6Nn/v9YEtJxooQTkQXFbjSTRts= Organization: Purple Sage Computing Solutions, Inc. Mime-Version: 1.0 Reply-To: dnagle@erols.com NNTP-Posting-Date: 18 Feb 1999 19:33:32 GMT Newsgroups: comp.lang.ada Date: 1999-02-18T19:33:32+00:00 List-Id: Hello, Nick Roberts wrote: > > Having built your 'helper' functions and procedures, there really is nothing > in Fortran that cannot be done almost as easily (and as, or almost as, > efficiently) in Ada. My examples have been in terms of array facilities, but > the principle applies to everything else in Fortran. > > So, hopefully, my original point stands. The only point I would take issue with is the efficiency issue. Fortran has evolved a stack of rules, including but not limited to anti-aliasing rules, which make for a great deal of freedom for an optimizer to work. (This is the point which usually trips up the "at last, C/C++ is faster than Fortran" argument.) I don't know enough about the optimization rules of Ada to know where Ada stands on this issue, nor do I know how much Ada can gain from its pragmas. But raw floating point speed is Fortran's long suit. Also, Fortran's intrinsic library has (usually hand) optimized matrix multiply, dot product, locate maximum element, locate minimum element, etc. I know Fortran fairly well, I'm learning Ada and like it so far. Right now, if I had to fly, I'd like the airplane to be designed in Fortran, with the fly-by-wire done in Ada. Just trying to use the right tool for the right job. Please feel free to enlighten me about Ada's optimization capabilities. -- Cheers! Dan Nagle dnagle@erols.com