GC for pure functions -- implementation ideas

Michel Fortin michel.fortin at michelf.com
Sun Apr 17 11:08:29 PDT 2011


On 2011-04-17 05:22:10 -0400, Fawzi Mohamed <fawzi at gmx.ch> said:

> All this comes back again to having several pools, showing how useful
> such a primitive is.

Speaking of rethinking the GC and its primitives, is there a way 
currently to tell the GC to track pointers to a manually allocated 
block and assign a callback for when the GC wants that block to be 
finalized and deallocated? I'm kinda going to need that if I am to 
bring decent garbage-collected Objective-C objects in D.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list