comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@mail.earthlink.net>
Subject: Another Newbie in distress :-)
Date: 1999/10/28
Date: 1999-10-28T00:00:00+00:00	[thread overview]
Message-ID: <38188F8E.C3CCBFA4@mail.earthlink.net> (raw)
In-Reply-To: 19991024.4074369@db3.max5.com

Those are nice distinction.  I'm going to check the differences in
implementation between heterogeneous and homogeneous.

But the one that bothers me is "Storage Pools". Intuitively a storage pool
is essentially a block of storage that is allocated and freed, however...
If I remember my spec's correctly, anything that is declared in the package
declaration exists permanently from the time that the package in called.
This means that the reference to the storage pool would never get freed.  Or
it means that I don't understand what a storage pool is (likely).

I really don't want to go around implementing garbage collectors.  Reference
counters won't collect networks (trees, ok,  lattices, ok, but not
networks).  The only thing that looks like it would do the job is mark and
sweep, but that's much better when done inside the language.  Storage pools
might be able to do the job, but they would need to release their storage
when the last external reference disappeared.  If they don't, then I get a
viscious memory leak.  I've seen several references to storage pools, but
haven't found a good source of info.

David Botton wrote:

> May also be found at:
>
> Heterogeneous, Reference-Counted Lists (Heaney)
> http://www.adapower.com/alg/hetroref.html
>
> Homogeneous, Reference-Counted Lists (Heaney)
> http://www.adapower.com/alg/homoref.html
>
> > Use the search engine to find "list" in the subject line.  The article
> > was titled "homogeneous lists", or something like that.






  parent reply	other threads:[~1999-10-28  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7urnh6$4ov$1@news2.inter.net.il>
1999-10-23  0:00 ` Newbie in distress :-) David C. Hoos, Sr.
1999-10-23  0:00   ` Ehud Lamm
1999-10-24  0:00     ` Robert Dewar
1999-10-24  0:00       ` Aidan Skinner
1999-10-25  0:00         ` Ted Dennison
1999-10-24  0:00       ` Ehud Lamm
1999-10-25  0:00       ` Robert A Duff
1999-10-26  0:00         ` Aidan Skinner
     [not found]   ` <Pine.A41.3.96-heb-2.07.991023170713.120704A-100000@pluto.mscc.huji.ac.il >
1999-10-23  0:00     ` Matthew Heaney
1999-10-24  0:00       ` David Botton
1999-10-24  0:00         ` Guy Cohen
1999-10-24  0:00         ` Ehud Lamm
1999-10-24  0:00           ` David Botton
1999-10-28  0:00         ` Charles Hixson [this message]
1999-10-28  0:00           ` Another " David Botton
1999-10-25  0:00   ` Ted Dennison
1999-10-28  0:00 ` Gautier
replies disabled

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