comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland.
Subject: Re: ADA Performance
Date: 4 May 93 15:03:27 GMT	[thread overview]
Message-ID: <1993May4.110327.19171@sei.cmu.edu> (raw)

In article <1993May4.142456.13012@convex.com> sercely@convex.com (Ron Sercely) 
writes:

>In the specific benchmark posted, IMHO, the BIGGEST difference between
>the Ada and FORTRAN implementation is the constraint checking.  The FORTRAN
>code does NOT check array bounds, nor bounds of the individual elements.  Ada,
>on the other hand, MUST check both.

I don't think so.  In the benchmark code, both loops were written

	for i in v1'range loop

and both v1 and v2 were declared of the same subtype.  Any Ada compiler
that introduced an index range check in such an obviously safe situation
would deserve to fail miserably.

             reply	other threads:[~1993-05-04 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-04 15:03 cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland. [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-05-04 19:31 ADA Performance Robert I. Eachus
1993-05-04 15:18 Boris Pelakh
1993-05-03 21:21 Robert I. Eachus
1993-05-03 11:54 cis.ohio-state.edu!news.sei.cmu.edu!firth
1993-04-30 17:18 ADA performance Wes Groleau X7574
1993-04-29 17:08 ADA Performance Jeffrey M. Creem x5700
1993-04-29 16:12 Robert Dewar
replies disabled

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