comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Why people wants to complicate code with Ada.Unchecked_Deallocation?
Date: Wed, 26 Jul 2006 20:56:07 +0100
Date: 2006-07-26T20:56:07+01:00	[thread overview]
Message-ID: <m2d5bsrvhk.fsf@grendel.local> (raw)
In-Reply-To: 44c7c3d3$0$47958$4fafbaef@reader3.news.tin.it

fabio de francesco <cancella.fabiomdf@alice.elimina.it> writes:

> The following statement is from Cohen's "Ada as a second language":
>
> "Ada.Unchecked_Deallocation must be used with caution. As we shall
> see, it can lead to subtle but devastating errors. If storage for
> allocated object is plentiful, there is no point in complicating the
> program to keep track of which allocated objects are no longer
> needed".

In my world, storage is not plentiful, so we absolutely must keep
track of it! (but I certainly would _not_ bother over-much for an
off-line tool that runs to completion and isn't a heavy memory user
anyway).



  parent reply	other threads:[~2006-07-26 19:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-26 19:34 Why people wants to complicate code with Ada.Unchecked_Deallocation? fabio de francesco
2006-07-26 19:51 ` Georg Bauhaus
2006-07-26 19:56 ` Simon Wright [this message]
2006-07-26 21:28 ` Jeffrey R. Carter
2006-07-27 15:49   ` adaworks
2006-07-27 19:11     ` Jeffrey R. Carter
2006-07-27 22:52     ` Simon Wright
2006-07-27 23:28       ` Robert A Duff
2006-07-27  0:07 ` Peter C. Chapin
2006-07-27 11:54 ` gautier_niouzes
replies disabled

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