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,76ec5d55630beb71 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-03 01:39:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!feed.news.nacamar.de!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!213.200.246.247!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Ada 200X Date: Tue, 03 Jun 2003 10:38:25 +0200 Organization: JeLlyFish software Message-ID: References: <3EDC0BE6.42300129@somewhere.nil> NNTP-Posting-Host: 213.200.246.247 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1054629583 9871733 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:38442 Date: 2003-06-03T10:38:25+02:00 List-Id: Gautier Write-only wrote: >And838N@netscape.net wrote: > >> I've heard professors say they don't like Ada because it's slow and = does all those >> "bounds" checking "things". > >They are misinformed: Ada is slow when the bounds checking is ON. Well, I beg to differ. In many areas it makes not much difference because bounds checking is usually quite cheap, because in correct programs the jumps are never taken. :-) In some particular heavy calculation where bounds checking takes a quite large amount of the actual code (consider a simple loop with just "i :=3D i + 1" in it) you might indeed feel a difference, but usually I don't. The main problem I see is that it might make a program substantially larger. Vinzent. --=20 Parents strongly cautioned -- this posting is intended for mature audiences over 18. It may contain some material that many parents would not find suitable for children and may include intense violence, sexual situations, coarse language and suggestive dialogue.