From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,82b509356384c38b X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,82b509356384c38b X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: READ 1ST: use eiffel for CAM library development? Date: 1998/01/23 Message-ID: #1/1 X-Deja-AN: 318653304 References: <01bd278f$f6e2b0a0$9dfc82c1@xhv46.dial.pipex.com> Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: 885576988 19556 bpr 206.184.139.132 Mime-Version: 1.0 Newsgroups: comp.lang.eiffel,comp.lang.ada Date: 1998-01-23T00:00:00+00:00 List-Id: On 22 Jan 1998, Nick Roberts wrote: > I gather that garbage collection tends not be implemented by default by > most Ada compilers. Fortunately, however, Ada 95 (the current standard) > provides a way for the programmer to provide garbage collection in a > relatively convenient way. If you mean using controlled types to implement reference counting, that is really not the same as garbage collection because it will not allow cyclic structures to be reclaimed, though that may not be important in some applications. I remember discussing using System.Storage_Pools for this purpose before, but I don't think that is quite up to the task either, though it can be used to implement lots of other memory reclamation policies. If you need GC in Ada, your best best for now is to use one of the Ada -> Java Virtual Machine compilers. It certainly would be much easier to build a GC for Ada than for C++, but I don't know if anyone has gotten around to it yet. -- Brian