comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Q: Ada.Unchecked_Deallocation
Date: 1996/07/21
Date: 1996-07-21T00:00:00+00:00	[thread overview]
Message-ID: <DuwMr3.8Ev@world.std.com> (raw)
In-Reply-To: dewar.837270488@schonberg


In article <dewar.837270488@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
>Our current view in GNAT is *not* to automatically free such storage
>by default (allowing for this automatic free adds quite a bit of
>overhead, which may not be needed in many cases). We plan to provide a storage 
>pool option that will allow this automatic freeing if it is what you want.
>Gven that Ada 95 provides the control of storage pools, this seems the
>most reasonable approach.

Why does GNAT have to provide anything beyond what the language
provides?  It seems to me that you can easily use user-defined storage
pools to make this kind of self-cleaning heap.  Are you just saying that
GNAT will provide such a thing in a library package?  It doesn't seem
like any extra pragmas or options are needed.

- Bob




  reply	other threads:[~1996-07-21  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 Q: Ada.Unchecked_Deallocation David Morton
1996-07-12  0:00 ` Jon S Anthony
1996-07-12  0:00 ` Ron Thompson
1996-07-13  0:00   ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff [this message]
1996-07-12  0:00 ` Robert Dewar
1996-07-16  0:00   ` Robert I. Eachus
1996-07-21  0:00     ` Robert A Duff
1996-07-20  0:00   ` Laurent Guerby
1996-07-20  0:00     ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff
1996-07-21  0:00   ` Robert A Duff
1996-07-21  0:00   ` Laurent Guerby
1996-07-14  0:00 ` Andy Askey
1996-07-14  0:00   ` Robert Dewar
1996-07-27  0:00     ` Uri Shina
1996-07-30  0:00       ` Theodore E. Dennison
replies disabled

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