comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent Guerby <guerby@acm.org>
Subject: Re: Numerical Computation and Ada95
Date: 10 May 2001 21:07:40 +0200
Date: 2001-05-10T19:03:34+00:00	[thread overview]
Message-ID: <864rutnhtv.fsf@acm.org> (raw)
In-Reply-To: 9dc4sh$ru5$1@ulysses.noc.ntua.gr

"N&J" <nikogian@hotmail.com> 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 <guerby@acm.org>



  parent reply	other threads:[~2001-05-10 19:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-09 19:13 Numerical Computation and Ada95 N&J
2001-05-09 19:42 ` David Starner
2001-05-10 12:23   ` Pat Rogers
2001-05-10 13:51   ` Ted Dennison
2001-05-10 18:21   ` Jeffrey Carter
2001-05-09 19:43 ` Ted Dennison
2001-05-09 21:57 ` James Rogers
2001-05-10  0:41 ` Dr Adrian Wrigley
2001-05-10  5:45   ` N&J
2001-05-10  6:37     ` David Starner
2001-05-10  6:48     ` tmoran
2001-05-10 20:12       ` Gary Scott
2001-05-10 14:04     ` Ted Dennison
2001-05-11 14:15       ` Marin David Condic
2001-05-10 20:08     ` Gary Scott
2001-05-11 11:58       ` Larry Kilgallen
2001-05-11 11:31         ` Dan Nagle
2001-05-11 14:33         ` Gary Scott
2001-05-11  4:00     ` Lao Xiao Hai
2001-05-11 14:03     ` Marin David Condic
2001-05-10  8:00 ` Martin Dowie
2001-05-10 14:11   ` Ted Dennison
2001-05-10 15:46     ` Martin Dowie
2001-05-10 13:54 ` Martin Stift
2001-05-11  5:59   ` mike
2001-05-10 19:07 ` Laurent Guerby [this message]
2001-05-10 20:49 ` N&J
2001-05-11 16:28   ` Jean-Pierre Rosen
2001-05-11 18:28     ` Marin David Condic
2001-05-13 21:42   ` Gautier de Montmollin
2001-05-11  2:02 ` DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox