From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Ada memory management?
Date: Thu, 07 Oct 2004 14:06:41 +0200
Date: 2004-10-07T14:06:41+02:00 [thread overview]
Message-ID: <7171861.RcpK2HblXu@linux1.krischik.com> (raw)
In-Reply-To: ck32t4$eff$01$1@news.t-online.com
matthias_k wrote:
> Hey there,
>
> since there is an allocator 'new' in Ada, I was wondering if there is a
> 'delete' too. I've heard there is a special technique called Storage
> Pool in Ada to write own memory managers, but what is the default
> deallocator?
Two option open: Your Ada has garbage collection or you use
Ada.Unchecked_Deallocation.
AFAIK: Only Ada's targeting the JVM have garbage collection. However for
GNAT you can use the Boehm Collector which is part of the GCC.
Mind you: A good collection class library will free you from almost all
memory management.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
next prev parent reply other threads:[~2004-10-07 12:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 9:39 Ada memory management? matthias_k
2004-10-07 12:06 ` Martin Krischik [this message]
2004-10-07 17:24 ` Nick Roberts
2004-10-07 19:04 ` Luke A. Guest
2004-10-07 22:52 ` ECLAT [was: Ada memory management?] Nick Roberts
2004-10-08 18:16 ` Luke A. Guest
2004-10-09 0:12 ` Nick Roberts
-- strict thread matches above, loose matches on Subject: below --
2004-10-07 10:00 Ada memory management? Christoph Karl Walter Grein
2004-10-07 10:41 ` Stephen Thomas
2004-10-07 11:17 ` Jeff C r e e.m
2004-10-07 14:22 ` Georg Bauhaus
2004-10-07 14:51 ` Stephen Thomas
2004-10-07 16:23 ` Larry Kilgallen
2004-10-07 18:35 ` Frank J. Lhota
2004-10-07 12:00 ` Martin Krischik
2004-10-07 11:15 Christoph Karl Walter Grein
2004-10-07 12:01 ` Stephen Thomas
2004-10-07 11:31 Christoph Karl Walter Grein
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox