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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b99897135d6631cc X-Google-Attributes: gid103376,public Path: g2news1.google.com!postnews2.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: memory management and productivity Date: 22 Jun 2004 21:41:20 -0700 Organization: http://groups.google.com Message-ID: References: <40d15023$1_1@baen1673807.greenlnk.net> <40d69121$1_1@baen1673807.greenlnk.net> NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1087965680 6007 127.0.0.1 (23 Jun 2004 04:41:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Jun 2004 04:41:20 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:1799 Date: 2004-06-22T21:41:20-07:00 List-Id: Ole-Hjalmar Kristensen wrote in message news:... > >>>>> "DS" == David Starner writes: > > DS> On Mon, 21 Jun 2004 12:03:55 -0700, Russ wrote: > >> Are you saying that an Ada compiler can implement GC or not? That > >> seems a bit inconsistent to me. How can the same language have it both > >> ways? > > DS> Every language has it both ways. You could link the Boehm-Weiser garbage > DS> collector into a C program without any change to the source outside a > DS> couple defines on the command line. A Lisp interpreter could choose not to > DS> garbage collect memory. Like interpretation, GC is more a feature of > DS> choices and tradition than an enforced standard. > > But the only language which I have used so far which got it quite > right IMHO is Modula-3. The programmer is free to choose, and the > language guarantees that GC is available. Bingo. That's exactly what Ada should have. And it shouldn't take a rocket scientist to figure that out.