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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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 12:04:07 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!proxad.net!grolier!club-internet!not-for-mail From: Laurent Guerby Newsgroups: comp.lang.ada Subject: Re: Numerical Computation and Ada95 Date: 10 May 2001 21:07:40 +0200 Organization: Club-Internet (France) Message-ID: <864rutnhtv.fsf@acm.org> References: <9dc4sh$ru5$1@ulysses.noc.ntua.gr> NNTP-Posting-Host: nas22-230.vlt.club-internet.fr X-Trace: front2m.grolier.fr 989521414 26195 195.36.172.230 (10 May 2001 19:03:34 GMT) NNTP-Posting-Date: 10 May 2001 19:03:34 GMT X-Newsreader: Gnus v5.7/Emacs 20.5 Xref: newsfeed.google.com comp.lang.ada:7497 Date: 2001-05-10T19:03:34+00:00 List-Id: "N&J" writes: > I have posed the question whether Ada95 is suitable for numerical > programming at the newsgroup of numerical analysis. I asked if > Ada95 is better that Fortran90/95 and C++ for writing programs for > numerical computation and the reply was that the Ada language > specification requires extensive run-time checks which slows down > the programs. You can selectively turns checks off in Ada using language feature, the information you have just shows that the people you've talked to know nothing about Ada. > I thought it would be better to ask your opinion too. Wise :). > I have noticed that there are too few numerical programs in Ada95 > for numerical computation is the above fact the real cause for this? There is some numerical code available in Ada on the web, plus bindings to traditional computing kernels. Most big Ada software is for military or industry which is not widely known and distributed (as opposed to Fortran in the scientific community). > Finally would you suggest someone to use Ada95 for numerical code? At work we have 250 KSLOC of Ada 95 doing financial number crunching on a variety of platforms (SGI O2000 64 procs, Linux clusters of various size, Solaris, NT), and Ada definitely does the job fine. We turned checks off on one tight loop to beat third party code in performance, otherwise we prefer the safety of checks against a 10-20% speed improvement. -- Laurent Guerby