comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Runtime check : what about you ?
Date: Sat, 18 Jun 2011 11:04:09 +0300
Date: 2011-06-18T11:04:09+03:00	[thread overview]
Message-ID: <9634fpF3o2U1@mid.individual.net> (raw)
In-Reply-To: <e0ac441f-db3e-4874-95ce-393524deef79@l2g2000prg.googlegroups.com>

Adam Beneschan wrote:
> On Jun 17, 10:53 am, Jeffrey Carter
> <spam.jrcarter....@spam.not.acm.org> wrote:
>> On 06/17/2011 02:42 AM, Yannick Duch�ne (Hibou57) wrote:
>>
>>
>>
>>> Just out of curiosity as much as because this may be worth to discuss it to some
>>> (at least because there are some reflex with that) : how many of your typically
>>> compile releases with runtime check and how many of you typically compile
>>> releases without runtime check ?
>> The description of the language in the ARM includes run-time checks. If checks
>> are turned off, then you're using some other language, not Ada.
> 
> Then I guess the RM sections on the Suppress pragma must be a big fat
> misprint.  Obviously, they're rogue pages that sneaked into the RM
> from the standard for some other language.
> 
> Really, I don't see the point of statements like that.  Ada is a tool,
> to be used for practical purposes.  It's not a religion.  And it was
> certainly part of the intent of Ada's designers that developers would
> develop their programs with checking turned on but then turn it off
> after the program has been tested and is ready to be put into
> production.  It's interesting to me that no one here has admitted
> doing this;

We effectively did that in my preceding Ada project (the platform 
on-board SW for the GOCE satellite) where we tested on a workstation 
using native compilation with checks on, but released cross-compiled 
target code with checks off. The target compiler does not support 
standard exception handling so we did not even have to think about 
whether and how we could have handled check failures on the target. (We 
did of course run the tests on the target, too, not just on the 
workstation.)

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .



  parent reply	other threads:[~2011-06-18  8:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  9:42 Runtime check : what about you ? Yannick Duchêne (Hibou57)
2011-06-17  9:56 ` Niklas Holsti
2011-06-17 10:06 ` Martin
2011-06-17 10:43 ` Simon Wright
2011-06-17 11:35 ` J-P. Rosen
2011-06-17 16:06 ` björn lundin
2011-06-17 19:18   ` Robert A Duff
2011-06-17 20:13     ` björn lundin
2011-06-17 20:34     ` Simon Wright
2011-06-17 17:53 ` Jeffrey Carter
2011-06-17 18:59   ` Adam Beneschan
2011-06-17 20:30     ` björn lundin
2011-06-18  0:19     ` Randy Brukardt
2011-06-18  0:26     ` Randy Brukardt
2011-06-18  3:08     ` tmoran
2011-06-18  7:16     ` J-P. Rosen
2011-06-18  8:04     ` Niklas Holsti [this message]
2011-06-17 20:12   ` Vinzent Hoefler
2011-06-17 20:12 ` Vinzent Hoefler
2011-06-18  0:15 ` Randy Brukardt
2011-06-18  0:29   ` Robert A Duff
2011-06-18  8:03     ` Dmitry A. Kazakov
2011-06-18  6:56 ` Dmitry A. Kazakov
replies disabled

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