comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Krischik" <krischik@users.sourceforge.net>
Subject: Re: How-to on using the adacl-gc packages
Date: 14 May 2006 23:52:08 -0700
Date: 2006-05-14T23:52:08-07:00	[thread overview]
Message-ID: <1147675928.810016.197550@i39g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1147631169.665365.244810@i40g2000cwc.googlegroups.com>


Steve Whalen wrote:

> Ada is a language intended to be used to engineer high quality, high
> reliability software. Garbage Collection generally is a tool to that is
> used to cover up a failure to know and control your program. An
> application should be written in such a way that there are no memory
> leaks or memory kept allocated after you've finished using it.

I know at least one memory allocation problem where I have not yet
found a solution for - no matter how much engineering I have put into
the problem:

task type T;
type T_Access is access T;

...

X : T_Access := new T;

The last I read only recently here was: task types are small - don't
bother deallocating them. Anybody got any better advice?

Martin




  reply	other threads:[~2006-05-15  6:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 17:34 How-to on using the adacl-gc packages Erik J Pessers
2006-05-14 18:26 ` Steve Whalen
2006-05-15  6:52   ` Martin Krischik [this message]
2006-05-15 20:13     ` Simon Wright
2006-05-15 21:36     ` Steve Whalen
2006-05-15 12:16 ` Martin Krischik
replies disabled

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