Re: Storage management, was Compiler writers will love this language

"Stefan Monnier" <monnier+comp.compilers/news/@cs-www.cs.yale.edu>
17 Jul 2003 00:23:35 -0400

          From comp.compilers

Related articles
[10 earlier articles]
Re: Storage management, was Compiler writers will love this language basile@starynkevitch.net (Basile STARYNKEVITCH) (2003-07-04)
Re: Storage management, was Compiler writers will love this language lex@cc.gatech.edu (Lex Spoon) (2003-07-04)
Re: Storage management, was Compiler writers will love this language mwotton@cse.unsw.edu.au (2003-07-04)
Re: Storage management, was Compiler writers will love this language blackmarlin@asean-mail.com (2003-07-04)
Re: Compiler writers will love this language joachim.durchholz@web.de (Joachim Durchholz) (2003-07-13)
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)
Re: Storage management, was Compiler writers will love this language haberg@matematik.su.se (2003-07-17)
Re: Storage management, was Compiler writers will love this language lars@bearnip.com (2003-07-17)
Re: Storage management, was Compiler writers will love this language RLake@oxfam.org.pe (2003-07-17)
Re: Storage management, was Compiler writers will love this language dmr@bell-labs.com (Dennis Ritchie) (2003-07-17)
Re: Storage management, was Compiler writers will love this language dot@dotat.at (Tony Finch) (2003-07-17)
| List of all articles for this month |
From: "Stefan Monnier" <monnier+comp.compilers/news/@cs-www.cs.yale.edu>
Newsgroups: comp.compilers
Date: 17 Jul 2003 00:23:35 -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 03-07-066
Keywords: GC, storage
Posted-Date: 17 Jul 2003 00:23:35 EDT

> 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".


I guess it's the cost of the counter-per-object (such languages tend to use
a lot of very small objects, such as cons cells). Of course there are ways
to work around that as well, but a simple GC is pretty easy to code up.




                Stefan


Post a followup to this message

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