More radical ideas about gc and reference counting

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun May 11 15:52:41 PDT 2014


On 5/11/2014 3:42 PM, Dmitry Olshansky wrote:
> Provided heap was allocated as one big mmap-ed region (or File mapping in Win32)
> it should be straightforward to remap it as Copy-on-Write. This would though
> reduce virtual memory available in half (if not more provided we'd want to leave
> some space for C's malloc).

This is not an issue for 64 bit machines. I don't think it would be a big 
problem if we have an improved GC for 64 bit machines only.

64 bits have other advantages for a GC - very few false pointers.


More information about the Digitalmars-d mailing list