On Monday, 27 April 2015 at 13:29:03 UTC, Casper Færgemand wrote:
Doesn't the GC regard every 4/8 sequence of bytes as a pointer?
Only on the stack. On the heap, it knows what type the data is and if it has a pointer or not.
On Monday, 27 April 2015 at 13:29:03 UTC, Casper Færgemand wrote:
Doesn't the GC regard every 4/8 sequence of bytes as a pointer?
Only on the stack. On the heap, it knows what type the data is and if it has a pointer or not.