[racket] writing garbage collector in racket/scheme?
Thanks Robby & Joe - this gives me the sketch I needed to see how it will
work. Thanks again.
On Fri, Oct 8, 2010 at 12:46 PM, Robby Findler
<robby at eecs.northwestern.edu>wrote:
> If you are after an eduction, you can just make yourself a big array
> and write a compiler / runtime system that uses that array instead of
> calling 'cons'.
>
> Shriram's PLAI has a module on garbage collectors that does this
> extremely well (by taking away some of the annoying work and letting
> you focus on the interesting bits, namely the gc algorithms and data
> layout issues).
>
> Robby
>
> On Fri, Oct 8, 2010 at 2:41 PM, Joe Marshall <jmarshall at alum.mit.edu>
> wrote:
> > On Fri, Oct 8, 2010 at 11:49 AM, YC <yinso.chen at gmail.com> wrote:
> >> Hi all -
> >> I have a rather curious question - is it possible to write a garbage
> >> collector in a pointerless language such as racket/scheme?
> >
> > It is possible if the system provides a good API to the underlying
> > memory architecture. The Scheme standard does not specify or
> > require such a thing, so there is no portable way to hook into the
> > garbage collector.
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101008/4d1ed31a/attachment.html>