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: 103376,ccb8bd6b4c3162fd X-Google-Attributes: gid103376,public From: David Starner Subject: Re: Beginner's questions Date: 1999/05/07 Message-ID: <37332A6D.B0D02309@aasaa.ofe.org>#1/1 X-Deja-AN: 475263581 Content-Transfer-Encoding: 7bit References: <372da49c.12366381@news.rwth-aachen.de> <7gmhc3$saq$1@nnrp1.dejanews.com> <373248e7@eeyore.callnetuk.com> <7gur13$6pm$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Oklahoma State University Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-07T00:00:00+00:00 List-Id: Robert Dewar wrote: > This is nothing to do with fashion, it is to do with user requirements. > All that is needed to make garbage collection appear in GNAT for example > is some customer who really needs it and is willing to fund at least part > of the development cost. One thing that may make this easier is that EGCS snapshot now includes a conservative garbage collector for the Java compiler, so it shouldn't be that hard to connect GNAT to that garbage collector when it runs on EGCS. Trying that is on my list for my first EGCS project (hopefull sometime in the next few years.) > Note that it is perfectly posssible to use any one of several conservative > garbage collectors with GNAT. Like writing an interface for the Boehem GC for each class? Is there a better conservative GC to use with Ada, or a more Ada-native interface? > Indeed, we have delayed using virtual origins > for arrays (one of the improvements on our list, which would noticeably > improve efficiency, especially of Fortran type numeric codes), precisely > because it would be incompatible with such collectors. Thanks. I appreciate it. > Why don't these meet your needs? Because we're lazy, and it's much easier just to set a compiler switch. Also, the documentation offers no clues that it is safe to use such garbage collectors. It would be nice to have a statement in the compiler docs that it should be fairly safe to use a conservative garbage collector.