comp.lang.ada
 help / color / mirror / Atom feed
* containers and garbage collections.
@ 2003-09-12 15:32 Martin Krischik
  2003-09-12 16:41 ` Stephen Leake
  2003-09-13  3:33 ` Matthew Heaney
  0 siblings, 2 replies; 9+ messages in thread
From: Martin Krischik @ 2003-09-12 15:32 UTC (permalink / raw)


Hello,

with this article I want to bring two of my discussions together.

On one side I am avocating garbage collection and one argument against it is
that proper container library will make garbage collection unneccesary.

One the other side I am avocating a more complete container librarys and one
argument against it is that one can allways use access types.

In Germany we say that the "cat bites is own tail" here.

Without garbage collection access types are pain in the bud. And when the
container library only stores "type element is private;" than one need to
use access types as element.

I have proven that both options are possible

I have implemented a garbage collected storrage pool for GNAT.

I also have created containers for "type Element (<>) is abstract tagged
private;" and I belive "type Element is array (Index range <>) of Item;" is
possible as well (Enabling collection of Strings). Both can't be done with
C++ templates - so we should not take the all mighty STL as an example.

Any thougts?

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-16 17:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-12 15:32 containers and garbage collections Martin Krischik
2003-09-12 16:41 ` Stephen Leake
2003-09-13  9:37   ` Martin Krischik
2003-09-13  3:33 ` Matthew Heaney
2003-09-13  9:45   ` Martin Krischik
2003-09-13 17:10     ` Matthew Heaney
2003-09-15 13:47     ` Dmitry A. Kazakov
2003-09-15 23:11       ` Matthew Heaney
2003-09-16 17:59         ` Martin Krischik

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