Won a programming contest using D - Thank you for the tool!

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 18 11:04:49 PDT 2014


On 08/18/2014 03:11 AM, Ivan Kazmenko wrote:

 > my program usually hit an out-of-memory error very soon.  It
 > worked fine when compiled with 64-bit DMD but failed to collect
 > the garbage in time with 32-bit DMD and with recent LDC.

That sounds like a false pointer issue. D's current GC is conservative: 
It takes any value that could be a pointer as a pointer and persists the 
memory that is falsely being pointed at.

The problem becomes 2^^32 times less likely when pointers are 64-bit wide.

Ali



More information about the Digitalmars-d mailing list