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,61e9062c1f23b9d5 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: contracted exceptions Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1181165630.012508.55290@i38g2000prf.googlegroups.com> <19fxsxv1god43$.1pqq8vgfu2itn$.dlg@40tude.net> <1181326858.6826.8.camel@sonnenregen> Date: Fri, 8 Jun 2007 20:56:24 +0200 Message-ID: <1bw23xtrkjdfi.pnt24u4lyig5$.dlg@40tude.net> NNTP-Posting-Date: 08 Jun 2007 20:56:05 CEST NNTP-Posting-Host: 3fc7bd79.newsspool1.arcor-online.net X-Trace: DXC=COFQ9\IJ;`@FJ3]dH>I?oEic==]BZ:afN4Fo<]lROoRAFl8W>\BH3YBkoF<@50ADNEDNcfSJ;bb[EIRnRBaCd On Fri, 08 Jun 2007 20:20:58 +0200, Georg Bauhaus wrote: > On Fri, 2007-06-08 at 20:00 +0200, Dmitry A. Kazakov wrote: >> On Fri, 08 Jun 2007 17:31:05 GMT, Ray Blaak wrote: > >>> Hm. I'm not so sure there is a disagreement as such with fault vs error. I >>> guess that my point is that what the software does in response to both tends >>> to be the same: report it and reset/halt/whatever. >> >> Software and more narrowly exceptions cannot report own bugs. It would be a >> very bad idea to exceptions for that, because vital information about the >> reasons will be inevitably destroyed. The best possible way is to break >> into debugger, stopping everything else. > > Or use backtracking and try an alternative path? Which, > of course, must have be provided, then. and selected by another program. Debugger is also other program. > Another option in distributed systems is advertized > as fault tolerance in the presence of Byzantine faults. > Uses replicas. Bought by the Redmond machine. That does not help much with software faults, except the case when the bug was exposed by some stochastic state. But even then, if you try a replica on the exactly same state, then it will fail again. If you continue it from a different state, then it won't be really 100% recovering or a replica. Redundant systems are good for dealing with hardware faults. Well-paid Ada programmers for preventing software ones (:-)). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de