comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: High-Integrity OO and controlled types
Date: Tue, 03 May 2011 12:51:00 -0400
Date: 2011-05-03T12:51:00-04:00	[thread overview]
Message-ID: <wccei4f918r.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1f1l5vmsetr53.q4i4vnava7yv.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> If Unchecked_Deallocation is called on each allocated object controlled or
> with controlled components, that would make keeping the list of allocated
> objects superfluous. I think that restrictions should work in this
> direction.

Yes, it would make sense to have such a feature.  I'm happy to add as
many restrictions as customers need.

>> And it's not just overhead (as in run-time efficiency) -- it's the complexity of
>> the run-time support.
>
> Well, but this applies to compile time support too, e.g. optimization and
> the GENERICS! Pragmatically, yes, certainly more complex the language thing
> is, more likely it is broken. But it is a compiler's property. I, as a
> software designer, am not in the position to decide, if the given compiler
> has bugs and which language features get spoiled. Thus it does not belong
> to a profile.
>
>> And it's not access types per se -- it's heap-allocated objects
>> (i.e. "new") that introduces most of the complexity.
>
> I agree, but that is not specific to controlled types.

Heap-allocation has some complexity.  When controlled types are added,
there's a whole new layer of complexity.

- Bob



  reply	other threads:[~2011-05-03 16:51 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 [this message]
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
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