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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Wes Groleau Newsgroups: comp.lang.ada,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: Thu, 10 Mar 2005 17:28:05 -0500 Organization: Ain't no organization here! Message-ID: <39bvv2F5ticm8U1@individual.net> References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <112rs0bdr2aftdf@corp.supernews.com> <1inxxr988rxgg$.1w9dedak41k89.dlg@40tude.net> <112s1r0rf0o8nca@corp.supernews.com> <112sonip5v4dca6@corp.supernews.com> <112t3de6fu04f38@corp.supernews.com> <112u7undo5h2q0a@corp.supernews.com> <399kbnF5vle0tU1@individual.net> Reply-To: groleau+news@freeshell.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net aDFYtIV16yFKV4Da0OpsIQ57sfCtg0FaUaXT1GfJ95zwWkyr0s User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:9067 comp.realtime:1218 comp.software-eng:4786 Date: 2005-03-10T17:28:05-05:00 List-Id: Pascal Obry wrote: > Wes Groleau writes: > >>And notice that Pascal did NOT have to suppress safety checks > > I did: -gnatp. oops. Might be interesting (if somebody has too much time on his hands) to explicitly write all the checks into the C that are automatic in Ada and compare times. Ada will win because the compiler can optimize out more of the checks when they are not explicit. Also, the compiler is less likely to make typos on the checks it does not optimize away! -- Wes Groleau Answer not a fool according to his folly, lest thou also be like unto him. Answer a fool according to his folly, lest he be wise according to his own conceit. -- Solomon Are you saying there's no good way to answer a fool? -- Groleau