draft proposal for ref counting in D

Jacob Carlborg doob at me.com
Wed Oct 16 12:17:13 PDT 2013


On 2013-10-16 21:05, Sean Kelly wrote:

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

One need to be very careful with the memory when interfacing with C code 
today. What about having a function that notifies the GC that a pointer 
has been updated?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list