How the GC distinguishes code from data

%u wfunction at hotmail.com
Fri Jan 7 12:14:52 PST 2011


> Kinda sorta. I haven't had any problems from that. If you allocate very large
blocks in the garbage collector you may face trouble :-)

Haha okay, thanks. :) (This makes me shiver quite a bit...)


> You have to add it to the garbage collector's list of roots

But if I need to do that, then what would be the difference between void[] and
ubyte[]?


More information about the Digitalmars-d-learn mailing list