comp.lang.ada
 help / color / mirror / Atom feed
From: "Ken Garlington" <Ken.Garlington@computer.org>
Subject: Re: Customer balks at Ada -- any hope?
Date: 2000/07/19
Date: 2000-07-19T00:00:00+00:00	[thread overview]
Message-ID: <PJgd5.11058$zW2.202552@news.flash.net> (raw)
In-Reply-To: 8l40kb$7na$1@xs4.xs4all.nl


"fdebruin" <fdebruin@xs4.xs4all.nl> wrote in message
news:8l40kb$7na$1@xs4.xs4all.nl...
> Kieran Mckey <kieran.mckey@baesystems.com> writes:
>
> >compiler switches. You should design the system so that the code will
> >meet performance requirements regardless of whether run-time checks are
> >enabled or not.
> >
> Sometimes, you don't have that luxury.
>
> For example, on-board systems for spacecrafts usually have very limited
> resources available and you're faced with restricitions w.r.t. the
> selection of processor and memory size avaible.

Don't forget another aspect of run-time checks that is particularly
important to embedded systems: Run-time checks are completely worthless...
unless you have a proper course of action to take when they occur.

For example, consider the Ariane 5 case. Let's assume that run-time checking
was completely enabled, and a Constraint_Error was therefore raised on the
floating-point to integer conversion (instead of the machine interrupt).
Unless there had been a local exception handler to take an appropriate
action (and it's somewhat of an open question as to the right action,
although saturating the output would have been the obvious choice), then the
exception would have propagated to the gloabl exception handler -- and the
exact same outcome would have occurred. Adding these local exception
handlers, of course, will use up some resources (memory, programmer time,
etc.) so they're certainly not "free".






  reply	other threads:[~2000-07-19  0:00 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-17  0:00 Customer balks at Ada -- any hope? mjsilva
2000-07-17  0:00 ` mjsilva
2000-07-17  0:00 ` Ken Garlington
2000-07-18  0:00   ` Samuel T. Harris
2000-07-18  0:00     ` Ken Garlington
2000-07-18  0:00       ` Scott Ingram`
2000-07-18  0:00         ` Larry Kilgallen
2000-07-18  0:00           ` Scott Ingram`
2000-07-18  0:00             ` Larry Kilgallen
2000-07-19  0:00             ` David Starner
2000-07-18  0:00         ` Scott Ingram`
2000-07-19  0:00         ` Ken Garlington
2000-07-19  0:00           ` Scott Ingram`
2000-07-19  0:00             ` Ken Garlington
2000-07-20  0:00               ` Samuel T. Harris
2000-07-21  0:00                 ` Ken Garlington
2000-07-18  0:00 ` wv12
2000-07-18  0:00   ` Larry Kilgallen
2000-07-19  0:00     ` Kieran Mckey
2000-07-19  0:00       ` fdebruin
2000-07-19  0:00         ` Ken Garlington [this message]
2000-07-19  0:00           ` Kieran Mckey
2000-07-19  0:00       ` Customer balks at Ada -- any hope?--Warning Significant Thread Drift Ahead Jeff Creem
2000-07-20  0:00         ` Kieran Mckey
2000-07-28  0:00           ` Robert I. Eachus
2000-07-18  0:00   ` Customer balks at Ada -- any hope? Scott Ingram`
2000-07-26  0:00     ` Dale Pontius
2000-07-26  0:00       ` Scott Ingram
2000-07-26  0:00         ` Pat Rogers
2000-07-26  0:00         ` Florian Weimer
2000-07-27  0:00           ` Ken Garlington
2000-07-19  0:00   ` mjsilva
2000-07-19  0:00   ` Ken Garlington
2000-07-18  0:00 ` Ted Dennison
2000-07-18  0:00   ` mjsilva
2000-07-18  0:00 ` Tucker Taft
2000-07-18  0:00   ` mjsilva
2000-07-18  0:00     ` Scott Ingram`
2000-07-18  0:00       ` nabbasi
2000-07-19  0:00         ` Rennie Allen
2000-07-19  0:00           ` nabbasi
2000-07-19  0:00         ` Pascal Obry
2000-07-19  0:00           ` Florian Weimer
2000-07-28  0:00             ` Robert I. Eachus
2000-07-28  0:00               ` Philip Anderson
2000-07-28  0:00                 ` Ken Garlington
2000-07-31  0:00               ` Harry Erwin
2000-07-31  0:00                 ` Ted Dennison
2000-07-18  0:00       ` Scott Ingram`
2000-07-18  0:00   ` Stanley R. Allen
2000-07-18  0:00     ` Rennie Allen
2000-07-18  0:00       ` Stanley R. Allen
2000-07-20  0:00         ` Joseph C Williams
2000-07-21  0:00           ` Ted Dennison
2000-07-18  0:00 ` Larry Kilgallen
2000-07-18  0:00   ` Larry Kilgallen
2000-07-18  0:00   ` Scott Ingram`
2000-07-24  0:00 ` Richard Riehle
2000-07-25  0:00   ` mjsilva
2000-07-25  0:00     ` gdemont
2000-07-25  0:00     ` Gary Scott
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox