Re: Compiler writers will love this language

Joachim Durchholz <joachim.durchholz@web.de>
13 Jul 2003 23:05:01 -0400

          From comp.compilers

Related articles
[19 earlier articles]
Re: Compiler writers will love this language strohm@airmail.net (John R. Strohm) (2003-07-02)
Re: Compiler writers will love this language genew@mail.ocis.net (2003-07-02)
Re: Compiler writers will love this language ericmuttta@email.com (2003-07-02)
Re: Compiler writers will love this language mwotton@cse.unsw.edu.au (2003-07-03)
Re: Compiler writers will love this language nmm1@cus.cam.ac.uk (2003-07-04)
Re: Compiler writers will love this language nmm1@cus.cam.ac.uk (2003-07-04)
Re: Compiler writers will love this language joachim.durchholz@web.de (Joachim Durchholz) (2003-07-13)
Re: Compiler writers will love this language ericmuttta@email.com (2003-07-15)
Re: Compiler writers will love this language nmm1@cus.cam.ac.uk (2003-07-15)
Re: Storage management, was Compiler writers will love this language stephen@dino.dnsalias.com (2003-07-17)
Re: Storage management, was Compiler writers will love this language monnier+comp.compilers/news/@cs-www.cs.yale.edu (Stefan Monnier) (2003-07-17)
| List of all articles for this month |
From: Joachim Durchholz <joachim.durchholz@web.de>
Newsgroups: comp.compilers
Date: 13 Jul 2003 23:05:01 -0400
Organization: Compilers Central
References: 03-05-211 03-06-015 03-06-054 03-06-057 03-06-078 03-06-106 03-07-023 03-07-037
Keywords: storage, GC
Posted-Date: 13 Jul 2003 23:05:01 EDT

Mark Alexander Wotton wrote:
> (Idle thought: seeing as the only way to create circular references is
> through mutable references in a strict language, or tying the knot in
> a lazy one, perhaps reference counting would be useful for a strict
> purely functional language.)


AFAIK, all such languages use mark-and-sweep collectors.


I'm not sure about the exact reasons. I could imagine that it's just
a case of "reference counting is beneath contempt", or a case of
"mark-and-sweep was measured to be just as fast as reference
counting", or simply "we want to avoid the analysis overhead of
assigning ownership to objects when writing our run-time system".


Regards,
Jo


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.