GC vs. Manual Memory Management Real World Comparison

SomeDude lovelydear at mailmetrash.com
Mon Sep 10 22:31:06 PDT 2012


On Wednesday, 5 September 2012 at 12:28:43 UTC, Piotr Szturmaj 
wrote:
> Benjamin Thaut wrote:
>> I do object pooling in both versions, as in game developement 
>> you
>> usually don't allocate during the frame. But still in the GC 
>> version you
>> have the problem that way to many parts of the language 
>> allocate and you
>> don't event notice it when using the GC.
>
> There's one proposed solution to this problem: 
> http://forum.dlang.org/thread/k1rlhn$19du$1@digitalmars.com

It's a bad solution imho. Monitoring the druntime and hunting 
every part that allocates until our codebase is correct like 
Benjamen Thaut is a much better solution


More information about the Digitalmars-d-announce mailing list