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 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!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: memory management and productivity Date: 22 Jun 2004 10:03:04 +0200 Organization: Sun Microsystems Message-ID: References: <40d15023$1_1@baen1673807.greenlnk.net> <40d69121$1_1@baen1673807.greenlnk.net> NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1087891384 29351 129.159.112.195 (22 Jun 2004 08:03:04 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 22 Jun 2004 08:03:04 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:1767 Date: 2004-06-22T08:03:04+00:00 List-Id: >>>>> "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. -- C++: The power, elegance and simplicity of a hand grenade.