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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 11:56:05 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ From: Ted Dennison References: <3B6555ED.9B0B0420@sneakemail.com> <87n15lxzzv.fsf@deneb.enyo.de> <3B672322.B5EA1B66@home.com> <4a885870.0108112341.7ce02ac0@posting.google.com> <3B834E5D.B0D26AB1@adaworks.com> <9lvsic$bet9s$1@ID-9852.news.dfncis.de> <9m0193$grs$1@bird.wu-wien.ac.at> <3B83F042.4CFB073D@home.com> Subject: Re: Subtle Bugs, kudos Ada (was How Ada ...Red Code ...) Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Wed, 22 Aug 2001 14:55:46 EDT Organization: http://www.newsranger.com Date: Wed, 22 Aug 2001 18:55:46 GMT Xref: archiver1.google.com comp.lang.ada:12274 comp.lang.c:76209 comp.lang.c++:84918 Date: 2001-08-22T18:55:46+00:00 List-Id: In article <3B83F042.4CFB073D@home.com>, Warren W. Gay VE3WWG says... >IMHO, it seems to me that advantages of having compiler generated >bounds checking and overflow checking code are too often >dismissed by the C/C++ camp. Its a lot easier to dismiss, when you've never tasted its charms in the first place. :-) >Just the other day, I came across a subtle C problem, that was >discovered when I ported the algorthm to Ada95. I checked the >most recent version of SoX source, and the problem _still_ >exists there, apparently still undiscovered. Its truly *amazing* how many times I've heard that exact same story (although the other language is not always C). I've even heard one person seriously suggest that an Ada port may be a good idea for projects that have no intention of using the Ada port, just to catch some more bugs. I think that's probably a bit extreme though. :-) --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com