draft proposal for ref counting in D

Sean Kelly sean at invisibleduck.org
Wed Oct 16 12:05:31 PDT 2013


On Oct 16, 2013, at 11:54 AM, Benjamin Thaut <code at benjamin-thaut.de> wrote:
> 
> The problem is not that there are no GCs around in other languages which satisfy certain requirements. The problem is actually implementing them in D. I suggest that you read "The Garbage Collection Handbook" which explains this in deep detail. I'm currently reading it, and I might write an article about the entire D GC issue once I'm done with it.

I think the short version is that D being able to directly call C code is a huge problem here.  Incremental GCs all rely on the GC being notified when pointers are changed.  We might be able to manage it for SafeD, but then SafeD would basically be its own language.


More information about the Digitalmars-d mailing list