On 4/10/2013 11:13 AM, Walter Bright wrote:
On 4/10/2013 9:13 AM, Andrei Alexandrescu wrote:What about precise tracking of stack references?Zose do need some magic.Yup.
But I should amend that since D can call any code with a C interface, and has zero knowledge of what is on the C stack, and may also be handed blocks of C data of unknown types, there are limits to precise tracking of all references.
At best a D collector can be "mostly copying".