Componentizing D's garbage collector

Benjamin Thaut code at benjamin-thaut.de
Sun Jan 12 09:15:46 PST 2014


Am 12.01.2014 18:12, schrieb Brian Rogoff:
>
> How would the moving GC deal with pointer arithmetic?

I don't see any problem with pointer arithmetic? Either the pointer is 
pointing to a gc managed memory block and will be patched accordingly, 
or it is not pointing to a gc managed memory block, and nothing will 
happen.

Obviously if you do unsafe things, you have to know what you are doing 
and might give additional information to the gc so it can propperly 
support unsafe stuff.



More information about the Digitalmars-d mailing list