Re: Compiler writers will love this language

nmm1@cus.cam.ac.uk (Nick Maclaren)
4 Jul 2003 00:00:15 -0400

          From comp.compilers

Related articles
[17 earlier articles]
Re: Compiler writers will love this language firefly@diku.dk (Peter \Firefly\Lund) (2003-06-25)
Re: Compiler writers will love this language joachim.durchholz@web.de (Joachim Durchholz) (2003-07-02)
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)
| List of all articles for this month |

From: nmm1@cus.cam.ac.uk (Nick Maclaren)
Newsgroups: comp.compilers
Date: 4 Jul 2003 00:00:15 -0400
Organization: University of Cambridge, England
References: 03-05-211 03-06-015 03-06-054 03-06-057 03-06-078 03-07-005
Keywords: storage, design
Posted-Date: 04 Jul 2003 00:00:15 EDT
Originator: nmm1@virgo.cus.cam.ac.uk

Joachim Durchholz <joachim.durchholz@web.de> writes:
|> Eric wrote:
|> > mwotton@cse.unsw.edu.au (Mark Alexander Wotton) wrote
|> >
|> >>Either that, or only released when all references to it have passed
|> >>out of scope. This is how many modern garbage-collected language
|> >>implementations work.
|> >
|> > This scheme (reference-counting) is used in VB6 for instance.
|>
|> No, garbage-collected languages don't use reference counting.


Eh? Few if any "garbage-collected languages" specify the method they
use, or even whether the garbage is ever collected. It is one of the
great faults of their design, because it makes it much, much harder to
write reliable portable code.


|> > VB7 (and
|> > every other .NET language?)
|>
|> AFAIK, .net uses automatic garbage collection.


Reference counting IS a form of automatic garbage collection. Not a
very powerful one, as you point out, but it is still one.




Regards,
Nick Maclaren.


Post a followup to this message

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