A few considerations on garbage collection
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 30 09:47:49 PDT 2014
Andrei Alexandrescu:
> Subsequently the GC should be within its rights to deallocate
> any memory within the first and last 250 integers allocated,
> even though in theory the user may get to them by using pointer
> arithmetic.
Such use of point arithmetic is not uncommon.
> I think the current GC already does that.
If this is true then this needs to be documented in bold text.
Bye,
bearophile
More information about the Digitalmars-d
mailing list