comp.lang.ada
 help / color / mirror / Atom feed
From: Cyrille <comar@eu.adacore.com>
Subject: Re: High-Integrity OO and controlled types
Date: Mon, 2 May 2011 03:01:29 -0700 (PDT)
Date: 2011-05-02T03:01:29-07:00	[thread overview]
Message-ID: <94f3a272-d071-4a74-bfbd-8f2b4c2347cf@m10g2000yqd.googlegroups.com> (raw)
In-Reply-To: 679e3217-98dd-43c1-86f6-2038a029c3ea@b19g2000yqg.googlegroups.com

> > This is surprising to me. I don't see anything in controlled types
> > that would require "extensive run-time support".
>
> Admittedly, we could provide more info here. "Extensive runtime
> support" is, in fact, only one aspect of it. Let me first say why
> "runtime support" is an issue: that's because in a HI context, the Ada
> runtime needs to be certified along with the application and thus
> certification material  (for various standards) needs to be developed
> and maintained. This is one of the reasons why we minimize  our HI
> runtime footprint. There are other reasons: source to object tracea

(this message was posted too fast...)

so I was saying "source to object" traceability (as required for
do-178b level A) becomes more difficult. And finally, this feature is
not that useful in very critical part of a system. The most common use
of controlled types is for dynamic memory management. something that
is usually avoided in the most critical part of the system. If you
really need to use dynamic memory management, then demonstrating the
correctness of the allocation strategy is not particularly easy in
such a context. It's probably simpler to wait for a fully certified GC
system to appear and used that instead...


> > There is another angle to this question: the Ravenscar profile does
> > not exclude controlled types. If GNAT's so-called Ravenscar profile
> > does exclude them, then it looks that it does not support some
> > formally valid Ravenscar programs, even some very trivial ones. Am I
> > missing something?

right. HI profiles come with additional restrictions. Note that
Ravenscar is just a restriction of the tasking model. So many
different profiles can claim to be "Ravenscar" compliant. For some of
our ports we provide 2 different ones: one less restricted than the
other.



  reply	other threads:[~2011-05-02 10:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01 20:38 High-Integrity OO and controlled types Maciej Sobczak
2011-05-01 21:29 ` Robert A Duff
2011-05-01 22:44   ` Simon Wright
2011-05-02  7:59   ` Dmitry A. Kazakov
2011-05-02 16:32     ` Robert A Duff
2011-05-02 19:39       ` Dmitry A. Kazakov
2011-05-03  0:08         ` Robert A Duff
2011-05-03  7:30           ` Dmitry A. Kazakov
2011-05-03 16:51             ` Robert A Duff
2011-05-02  9:50 ` Cyrille
2011-05-02 10:01   ` Cyrille [this message]
2011-05-02 19:25     ` Maciej Sobczak
2011-05-03  9:32       ` Cyrille
2011-05-03  9:59         ` Maciej Sobczak
2011-05-03 10:24           ` Dmitry A. Kazakov
2011-05-03 16:53             ` Robert A Duff
2011-05-03 17:37               ` Dmitry A. Kazakov
2011-05-03 11:28           ` Georg Bauhaus
2011-05-03 12:27             ` Dmitry A. Kazakov
2011-05-03 15:22               ` Georg Bauhaus
2011-05-03 16:28                 ` Dmitry A. Kazakov
2011-05-04  8:48                   ` Georg Bauhaus
2011-05-04  9:28                     ` Dmitry A. Kazakov
2011-05-04 14:46                       ` Georg Bauhaus
2011-05-04 15:01                         ` Dmitry A. Kazakov
2011-05-04 15:25                           ` Georg Bauhaus
2011-05-04 16:23                             ` Dmitry A. Kazakov
2011-05-04 17:06                               ` Georg Bauhaus
2011-05-04 20:16                                 ` Dmitry A. Kazakov
2011-05-05  7:13                                   ` Maciej Sobczak
2011-05-05 10:58                                     ` Cyrille
2011-05-05 12:35                                       ` 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