comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: High-Integrity OO and controlled types
Date: Wed, 04 May 2011 19:06:55 +0200
Date: 2011-05-04T19:06:55+02:00	[thread overview]
Message-ID: <4dc187af$0$6991$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <1wtqj5ym270iw.11hopx6y7w1co$.dlg@40tude.net>

On 04.05.11 18:23, Dmitry A. Kazakov wrote:

>> Try adding pragma Profile (Ravenscar) there ;.)
> 
> I don't care much about Ravenscar, which is too limiting for almost
> anything. There are limitations to make life easier for the readers and
> ones for the compiler and prover. They are not same, some contradict to the
> goals of each other. I always choose the former over the latter.

Does it work when systems need to be fast at the lower levels?

>> Is there really little overhead when Restore is replaced
>> with some objects?
> 
> [...]
> 
> Negligible since used upon an exception, which I hope is not to propagate
> at 100ns rate.

Ah, o.K., I should have said source code maintenance overhead, too,
and increased system complexity.  The program now uses nesting, a language
feature. In order to go with types for the same effects, it will have to be
transformed. To replace the Restore procedure, the transformation
would have to add not just objects but also "indirections" that
make up for the effects.  I think that what you said earlier?
If this is the case, then I wonder whether or not this kind of
overhead is worth the effort.

All of this does not address the issue of how to hook "nested rollback".



  reply	other threads:[~2011-05-04 17:06 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
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 [this message]
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