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: fdb77,5f529c91be2ac930 X-Google-Attributes: gidfdb77,public X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,59ec73856b699922 X-Google-Attributes: gid1108a1,public X-Google-ArrivalTime: 2003-05-11 14:17:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!usenet From: "John R. Strohm" Newsgroups: comp.lang.java.advocacy,comp.object,comp.lang.ada Subject: Re: Using Ada for device drivers? (Was: the Ada mandate, and why it collapsed and died) Date: Sun, 11 May 2003 16:09:43 -0500 Organization: Airnews.net! at Internet America Message-ID: References: <9fa75d42.0304230424.10612b1a@posting.google.com> <416273D61ACF7FEF.82C1D1AC17296926.FF0BFD4934A03813@lp.airnews.net> <9fa75d42.0305010621.55e99deb@posting.google.com> <0-WcnWfafqsNpiyjXTWcqw@gbronline.com> <1051804573.732603@master.nyc.kbcfp.com> <3EBE9BD4.1050008@attbi.com> Xref: archiver1.google.com comp.lang.java.advocacy:63530 comp.object:63210 comp.lang.ada:37199 Date: 2003-05-11T16:09:43-05:00 List-Id: X-A-Notice: References line has been trimed due to 512 byte limitation Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library2.airnews.net NNTP-Posting-Time: Sun, 11 May 2003 16:15:21 -0500 (CDT) NNTP-Posting-Host: ![-nV1k-WWi2kke (Encoded at Airnews!) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 "Hyman Rosen" wrote in message news:T7yva.16129$rV2.4345@nwrdny01.gnilink.net... > Robert I. Eachus wrote: > > Shuffle(Deck, Gen); > > > > It is really, really hard to have bugs in code that is as unsubtle as > > that. And even if the universe changes, the changes are pretty > > localized. For example, it would take just a few minutes to change the > > code to deal Pinochle hands, or even to switch to a Tarot deck. > > I think this is a perfect example of the blind spot of Ada programmers. > You are so enamored of enumerations and perfectly indexed arrays and > lack of buffer overflows that you will probably miss the most likely > and subtle bug of this kind of code, which is that the Shuffle routine > fails to produce each possible permutation with uniform probability! Let's see, are you saying we shouldn't eliminate the simple problems because we can't eliminate the hard problems at the same time? The obvious end consequent of that argument is that we should all be programming in absolute binary.