From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,14f3fa9fb2c63b2d X-Google-Attributes: gidf891f,public X-Google-Thread: fac41,98945d3dc397bdb1 X-Google-Attributes: gidfac41,public X-Google-Thread: f4fd2,98945d3dc397bdb1 X-Google-Attributes: gidf4fd2,public X-Google-Thread: f678f,14f3fa9fb2c63b2d X-Google-Attributes: gidf678f,public X-Google-Thread: 102b75,14f3fa9fb2c63b2d X-Google-Attributes: gid102b75,public X-Google-Thread: f4ea4,98945d3dc397bdb1 X-Google-Attributes: gidf4ea4,public X-Google-ArrivalTime: 1993-12-12 12:08:04 PST Xref: gmd.de comp.lang.misc:5266 comp.arch:18106 comp.unix.osf.misc:821 comp.lang.dylan:1562 comp.lang.eiffel:2106 comp.lang.lisp:5031 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uwm.edu!rutgers!att-out!cbnewsd!cbnewsc!cbnewsc.cb.att.com!lgm From: lgm@polaris.flw.att.com (Lawrence G. Mayka) Newsgroups: comp.lang.misc,comp.arch,comp.unix.osf.misc,comp.lang.dylan,comp.lang.eiffel,comp.lang.lisp Subject: Re: ANDF - some information Message-ID: Date: 12 Dec 93 19:38:33 GMT References: <1993Dec2.134838.8047@webo.dg.com> <2e9sel$2in@disun41.epfl.ch> <2eakvr$is4@news.parc.xerox.com> Sender: news@cbnewsc.cb.att.com (NetNews Administrator) Organization: AT&T Bell Laboratories, Naperville, Illinois, USA In-Reply-To: boehm@parc.xerox.com's message of 10 Dec 1993 20:08:27 GMT Nntp-Posting-Host: polaris.flw.att.com In article <2eakvr$is4@news.parc.xerox.com> boehm@parc.xerox.com (Hans Boehm) writes: I think sml2c is in the minority here. By doing this, it gets space usage guarantees that are stronger than those provided by almost all other language implementations, and it can probably afford to be a bit sloppier about allocating short-lived objects. If you are willing to settle for the customary lack of guarantees (as with all C or Lisp implementations that I know of), you can conservatively scan the stack for bit patterns that look like pointers. This is done by the SRC Modula-3 compiler, the Sather compiler, AKCL, Bartlett's Scheme compiler, etc., and even by some compilers that generate native code (e.g. D-machine Cedar, and SRC Modula-2+, I believe.) You seem to focus on languages that are statically typed, implementations that are noncommercial, or implementations that generate C code. It is quite natural for these to scan stacks for pointer-like bit patterns. Indeed, they typically have no viable and cost-effective alternative. On the other hand, you don't mention Common Lisp implementations specifically except for AKCL (which is noncommercial and generates C code). Are you certain that Harlequin, Franz, Lucid, Symbolics, Venue, Apple, Gold Hill, CMU, and CLISP actually employ bit-pattern scanning for their stacks? Otherwise, your sweeping generalization may mislead people into thinking that "Conservative GC can't be so terrible because everybody's doing it." -- Lawrence G. Mayka AT&T Bell Laboratories lgm@iexist.att.com Standard disclaimer.