comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: access all definitive
Date: 30 Jan 1995 00:24:31 -0500
Date: 1995-01-30T00:24:31-05:00	[thread overview]
Message-ID: <3ght6f$99v@felix.seas.gwu.edu> (raw)
In-Reply-To: 3ge71t$h4r@gnat.cs.nyu.edu

In article <3ge71t$h4r@gnat.cs.nyu.edu>, Robert Dewar <dewar@cs.nyu.edu> wrote:
>fintan said:

>one coding style that will develop in Ada 95 is simply to use all on all
>access type declarations. However, I am not sure that is such a good idea,
>one ought to minimize the use of aliased variables (there is a good reason
>that Ada 83 did not have this feature, its overuse is definitely damaging)

And the Ada 95 Rationale (I think that is where I read it!) points out
that distinguishing the two types leads to potential optimizations,
because whereas a general access type (ACCESS ALL) will typically be
represented as a full address, a pool-specific (Ada 83) access type
might be able to use a more compact rep, since only a specific, probably
smaller, storage pool needs to be designated.

Mike Feldman



  reply	other threads:[~1995-01-30  5:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-24 17:04 access all definitive fintan
1995-01-27  9:54 ` Michel Gauthier
1995-01-28 19:48   ` Robert Dewar
1995-01-30  5:24     ` Michael Feldman [this message]
1995-01-28  5:36 ` Cyrille Comar
1995-01-28  5:45 ` Robert Dewar
replies disabled

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