comp.lang.ada
 help / color / mirror / Atom feed
From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: Help with designing data structure for novice Ada programmer
Date: Fri, 14 Jan 2022 11:05:33 -0500	[thread overview]
Message-ID: <jj73ug5cv48bq7cl6h3te37e2t6n9gugt1@4ax.com> (raw)
In-Reply-To: a4WdnVvY4Zs-nnz8nZ2dnUU7-WfNnZ2d@earthlink.com

On Fri, 14 Jan 2022 00:01:22 -0500, "1.AAC0832" <z24ba7.net> declaimed the
following:


>   You DO have to bring in a special proc to FREE memory allocated
>   on the heap however. Kinda weird - you'd think making and freeing
>   would naturally be implemented together. This "free()" is very
>   type-specific, multiple incarnation of the proc will be needed
>   if you have multiple kinds of records to free.
>
	Take into account the origins for Ada. Many embedded/real-time
applications follow the practice of pre-allocating all memory during
application initialization before transitioning into "running" mode. They
never deallocate memory. If something goes wrong, the entire application
system is rebooted, resetting all memory.


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

  reply	other threads:[~2022-01-14 16:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 20:41 Help with designing data structure for novice Ada programmer Aleksy Grabowski
2022-01-09  2:36 ` Paul Rubin
2022-01-09  9:49   ` Aleksy Grabowski
2022-01-09 10:10     ` Dmitry A. Kazakov
2022-01-14  5:01   ` 1.AAC0832
2022-01-14 16:05     ` Dennis Lee Bieber [this message]
2022-01-14 17:40       ` Dmitry A. Kazakov
replies disabled

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