Distributed Memory implementation

Xinok via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 18 08:54:45 PST 2016

On Monday, 18 January 2016 at 09:56:17 UTC, Adrian Matoga wrote:
> ...
> Your idea seems interesting, but IMHO a compacting GC should be 
> the preferred solution for heap fragmentation.

Implementing a compacting GC in D would be exceedingly difficult, 
if not impossible, because of raw pointers, unions, non-GC 
memory, linked C/C++ code, and possibly other reasons. Other 
languages, such as Java, have a much simpler model that can be 
dealt with. There's simply too many caveats in D and any such 
benefits would be minimal at best.

More information about the Digitalmars-d mailing list