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,e80a1497a689d8a5 X-Google-Attributes: gid103376,public From: dvdeug@x8b4e53cd. (David Starner) Subject: Re: Ammo-zilla Date: 1999/10/28 Message-ID: <7vadsp$8q61@news.cis.okstate.edu>#1/1 X-Deja-AN: 541818334 References: <38120FAF.945ADD7D@hso.link.com> <7uutgd$87h$1@nnrp1.deja.com> <19991024.18033546@db3.max5.com> <38189268.43EB150F@mail.earthlink.net> <86ogdjtdwz.fsf@ppp-115-70.villette.club-internet.fr> Organization: Oklahoma State University User-Agent: slrn/0.9.5.7 (UNIX) Newsgroups: comp.lang.ada Date: 1999-10-28T00:00:00+00:00 List-Id: On 28 Oct 1999 22:42:52 +0200, Laurent Guerby wrote: >Charles Hixson writes: >> [...] But the cost of a unified design of this nature is that, >> e.g., garbage collection is eliminated from the language. [...] > >Quite the contrary, garbage collection is allowed (but not mandated) >by the language (see section 13.11.3 of the Ada 95 RM), and it's of >course available for Ada compilers targetting the JVM. Under the "as if" rule, C allows garbage collection, and I've got a C compiler that compiles targetting the JVM. If garbage collection is not mandated, however, then it can't be relied on in Ada code that might run under systems that don't garbage collect - i.e. portable Ada code can't use it. Hence either you deallocate any memory yourself, or suffer garbage leaks while running under a non-garbage collecting system. -- David Starner - dstarner98@aasaa.ofe.org