comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Pb with use of redefined "=" operator
Date: 1998/11/10
Date: 1998-11-10T00:00:00+00:00	[thread overview]
Message-ID: <729rod$nlv$1@nnrp1.dejanews.com> (raw)
In-Reply-To: wcchfw8sfg2.fsf@world.std.com

In article <wcchfw8sfg2.fsf@world.std.com>,
  Robert A Duff <bobduff@world.std.com> wrote:
> dewarr@my-dejanews.com writes:
>
> >...(in many embedded and safety
> > critical applications, tagged types are eliminated for good reasons!)
>
> I disagree with that part.  Making a type tagged adds one word of
> storage to each object of the type, in typical implementations of Ada.
> It's quite easy to decide on a case-by-case basis whether that's "too
> much".
>
> There might be reasons to forbid the 'Class attribute in certain
> safety-critical applications, but I see no reason to forbid "tagged".
> Tagged types (without 'Class) don't introduce any dynamic dispatching or
> anything else that might be of concern.

My understanding was that without 'Class, the tag may not even be *present*
in the object. It isn't really needed, since every object's type is
determinable at compile time.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1998-11-10  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-03  0:00 Pb with use of redefined "=" operator Fran�oise & Herv� BITTEUR
1998-11-04  0:00 ` Matthew Heaney
1998-11-04  0:00   ` Mats Weber
1998-11-05  0:00     ` Matthew Heaney
1998-11-05  0:00       ` dewarr
1998-11-05  0:00         ` Matthew Heaney
1998-11-06  0:00           ` dewarr
1998-11-09  0:00             ` Robert A Duff
1998-11-10  0:00               ` dennison [this message]
1998-11-10  0:00                 ` Robert A Duff
1998-11-05  0:00       ` Mats Weber
1998-11-05  0:00         ` Matthew Heaney
1998-11-09  0:00           ` Robert A Duff
1998-11-09  0:00             ` Brian Rogoff
1998-11-10  0:00               ` Robert A Duff
1998-11-10  0:00             ` Robert I. Eachus
1998-11-04  0:00 ` Mats Weber
1998-11-04  0:00   ` Fran�oise & Herv� BITTEUR
1998-11-04  0:00 ` dewarr
1998-11-04  0:00   ` Tucker Taft
replies disabled

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