Re:Inside D's GC
by nicwilson on Tuesday June 20, 2017 @07:11AM
(#14593569)
> written in such a way that objects are assumed to be non-moving
Not generally, but you can take the address of anything and shove it into a union or pass it off to C code that stores it somewhere. Because you can, it would be very dangerous to move objects around because of that.
Not generally, but you can take the address of anything and shove it into a union or pass it off to C code that stores it somewhere. Because you can, it would be very dangerous to move objects around because of that.