comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: High-Integrity OO and controlled types
Date: Tue, 3 May 2011 19:37:01 +0200
Date: 2011-05-03T19:36:59+02:00	[thread overview]
Message-ID: <ztyz8ey1gtu5.1sbdt5od6my4y$.dlg@40tude.net> (raw)
In-Reply-To: wccaaf39152.fsf@shell01.TheWorld.com

On Tue, 03 May 2011 12:53:13 -0400, Robert A Duff wrote:

> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> 
>> There are three meaning of being controlled:
>>
>> 1. Ada 83 used it to refer memory allocation (pragma Controlled)
>> 2. Since Ada 95 it is both
>> 2.a. An ability to influence initialization and finalization
>> 2.b. An ability to have a [non-generic] class
> 
> I am unaware of 2.b.  I know there are two meanings: 1 and 2.a.

OK, 2.b (T'Class) is actually allowed for any tagged type.

>> Yes, things need to be sorted out.
> 
> Shrug.  Nobody uses pragma Controlled, so I don't see a huge problem
> with the terminology.

I think that Maciej meant that initialization and finalization is
orthogonal to an ability to form a class (or being tagged as one possible
implementation of this). I agree with that, but in my view both should be
allowed to all types anyway. If Ada reached that level of regularity I
would like you not care about separation, but unfortunately it has not.
Moreover many (not me) think that taggedness should be kept isolated, so
the restriction goes. If this separation is to be maintained, one should
make initialization and finalization independent on that.

So, my opinion depends on path the language roadmap.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



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