Related articles |
---|
[4 earlier articles] |
Re: Best Ref-counting algorithms? torbenm@pc-003.diku.dk (2009-07-14) |
Re: Best Ref-counting algorithms? lerno@dragonascendant.com (=?ISO-8859-1?Q?Christoffer_Lern=F6?=) (2009-07-14) |
Re: Best Ref-counting algorithms? haberg_20080406@math.su.se (Hans Aberg) (2009-07-14) |
Re: Best Ref-counting algorithms? georgeps@xmission.com (GPS) (2009-07-14) |
Re: Best Ref-counting algorithms? gneuner2@comcast.net (George Neuner) (2009-07-14) |
Re: Best Ref-counting algorithms? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-07-15) |
Re: Best Ref-counting algorithms? lerno@dragonascendant.com (=?ISO-8859-1?Q?Christoffer_Lern=F6?=) (2009-07-14) |
Re: Best Ref-counting algorithms? lerno@dragonascendant.com (=?ISO-8859-1?Q?Christoffer_Lern=F6?=) (2009-07-15) |
Re: Best Ref-counting algorithms? torbenm@pc-003.diku.dk (2009-07-15) |
Re: Best Ref-counting algorithms? cr88192@hotmail.com (BGB / cr88192) (2009-07-15) |
Re: Best Ref-counting algorithms? cr88192@hotmail.com (BGB / cr88192) (2009-07-15) |
Re: Best Ref-counting algorithms? cr88192@hotmail.com (BGB / cr88192) (2009-07-15) |
Re: Best Ref-counting algorithms? cr88192@hotmail.com (BGB / cr88192) (2009-07-15) |
[23 later articles] |
From: | =?ISO-8859-1?Q?Christoffer_Lern=F6?= <lerno@dragonascendant.com> |
Newsgroups: | comp.compilers |
Date: | Tue, 14 Jul 2009 23:43:26 -0700 (PDT) |
Organization: | Compilers Central |
References: | 09-07-018 09-07-023 09-07-027 09-07-037 |
Keywords: | GC |
Posted-Date: | 15 Jul 2009 19:23:23 EDT |
On Jul 14, 8:02 pm, Hans Aberg <haberg_20080...@math.su.se> wrote:
> Christoffer LernC6 wrote:
> >> It depends on what resources you want to collect, and what
> >> implementation language you are choosing.
>
> > I'm playing around with a ref-counting based (memory) GC for a
> > language I have yet to construct.
>
> But what language are you planning use for the implementation? If you
> choose C++, then it is hard to find the root set. Suppose you create
> object for use in your language; then global objects and those in th
> stack should be registered somehow for the tracing, but those on the
> heap should not, as the are live when they can be traced from the other.
I was thinking of using C for implementation, but does that matter? As
long as I implement the language in a non GC:ed language I will have
to take care of writing the GC myself (or for C, use the Bohm
conservative GC).
/C
Return to the
comp.compilers page.
Search the
comp.compilers archives again.