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-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeeder.wxs.nl!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail From: wouter@voti.nl (Wouter van Ooijen (www.voti.nl)) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada) Date: Sun, 06 Mar 2005 20:57:32 GMT Organization: Van Ooijen Technische Informatica (www.voti.nl) Message-ID: <422b6de0.1142038003@news.xs4all.nl> 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> <87is4598pm.fsf@insalien.org> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 213.84.20.53 X-Trace: 1110142651 news.xs4all.nl 43074 [::ffff:213.84.20.53]:59090 X-Complaints-To: abuse@xs4all.nl Xref: g2news1.google.com comp.lang.ada:8767 comp.lang.c++:44382 comp.realtime:1031 comp.software-eng:4563 Date: 2005-03-06T20:57:32+00:00 List-Id: >> What other mechanism would you suggest? > >Termination of the program. Some might argue that they can't tolerate such >an event. But can such an environment tolerate a faulty running program? Imagine a space rocket 1 second after launch. Terminating the control program means the rocket will probably topple and destroy the launch site. And exception raised + caught can try to use and alternative algorithm, or any other means to continue as best as possible. Note: the first Ariane 5 launch was a failure roughly because the (Ada!) code was (out of necessity) written without exception handling. (The real story is a bit longer, and explains that this was *not* a software failure - it was a mangagement misjudgement). Wouter van Ooijen -- ------------------------------------ http://www.voti.nl Webshop for PICs and other electronics http://www.voti.nl/hvu Teacher electronics and informatics