comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: READ 1ST: use eiffel for CAM library development?
Date: 1998/01/23
Date: 1998-01-23T00:00:00+00:00	[thread overview]
Message-ID: <Pine.BSF.3.96.980123092313.13593B-100000@shell5.ba.best.com> (raw)
In-Reply-To: 01bd278f$f6e2b0a0$9dfc82c1@xhv46.dial.pipex.com


On 22 Jan 1998, Nick Roberts wrote:
> I gather that garbage collection tends not be implemented by default by
> most Ada compilers.  Fortunately, however, Ada 95 (the current standard)
> provides a way for the programmer to provide garbage collection in a
> relatively convenient way.

If you mean using controlled types to implement reference counting, that
is really not the same as garbage collection because it will not allow 
cyclic structures to be reclaimed, though that may not be important in
some applications. I remember discussing using System.Storage_Pools for
this purpose before, but I don't think that is quite up to the task
either, though it can be used to implement lots of other memory
reclamation policies. If you need GC in Ada, your best best for now is to
use one of the Ada -> Java Virtual Machine compilers. 

It certainly would be much easier to build a GC for Ada than for C++, but 
I don't know if anyone has gotten around to it yet. 

-- Brian






  reply	other threads:[~1998-01-23  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-21  0:00 READ 1ST: use eiffel for CAM library development? Shane Miller
1998-01-22  0:00 ` Nick Roberts
1998-01-23  0:00   ` Brian Rogoff [this message]
1998-01-22  0:00 ` Matt Kennel
replies disabled

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