TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Robert I. Eachus" <[log in to unmask]>
Mon, 5 Oct 1998 11:00:16 -0400
text/plain (19 lines)
At 04:35 PM 10/1/98 -0400, Michael Feldman wrote:
>Just for completeness - Ada has no (required) garbage collection.

   Just for completeness, Ada does have required garbage collection, but
only for a few specific types.  See A.4.5(88) for Ada.Strings.Unbounded.
(It is not possible to implement this type and the corresponding wide type
without garbage collection, although it can be done with reference
counting, and without compaction.)

   In addition, 13.11.2 allows users to implement garbage collection for a
user defined type if they wish.  I've done it and it is not that hard.
(But again, I used reference counting since circular lists were not possible.)

                                        Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...