www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - The new Mono GC

reply bearophile <bearophileHUGS lycos.com> writes:
Is it possible to try to replace (or just perform experiments) the D GC with
this one?

http://developers.sones.de/2010/09/01/taking-the-new-and-shiny-mono-simple-generational-garbage-collector-mono-sgen-for-a-walk/

Delegating the creation and management of the D GC to someone else (the Mono
team) sounds like a possible way to have a good enough GC.

Bye,
bearophile
Sep 01 2010
next sibling parent "Craig Black" <cblack ara.com> writes:
This would be awesome if the Mono guys were willing to cooperate.

-Craig
Sep 03 2010
prev sibling next sibling parent Justin Johansson <no spam.com> writes:
On 02/09/10 08:03, bearophile wrote:
 Is it possible to try to replace (or just perform experiments) the D GC with
this one?

 http://developers.sones.de/2010/09/01/taking-the-new-and-shiny-mono-simple-generational-garbage-collector-mono-sgen-for-a-walk/

 Delegating the creation and management of the D GC to someone else (the Mono
team) sounds like a possible way to have a good enough GC.

 Bye,
 bearophile

Can you elucidate perhaps a little bit about the theory of the Mono GC and why it might be interesting. Some hypotheses about what makes one GC better than another would be nice topics for discussion. Cheers Justin
Sep 03 2010
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Wed, 01 Sep 2010 18:33:40 -0400, bearophile <bearophileHUGS lycos.com>  
wrote:

 Is it possible to try to replace (or just perform experiments) the D GC  
 with this one?

 http://developers.sones.de/2010/09/01/taking-the-new-and-shiny-mono-simple-generational-garbage-collector-mono-sgen-for-a-walk/

 Delegating the creation and management of the D GC to someone else (the  
 Mono team) sounds like a possible way to have a good enough GC.

license-wise, I think it would be possible to just port. The GC portion of mono is licensed via MIT X/11 It says it's semi-precise (everything except registers and stack, which are scanned conservatively). ATM, D doesn't have enough data to have precise scanning (though there is work being done on that). I don't see why it wouldn't be possible to try out this GC, it seems to be mostly usable in a D environment. -Steve
Sep 03 2010