Better branding of -betterC

Ola Fosheim Grøstad ola.fosheim.grostad at
Sun Nov 15 21:03:51 UTC 2020

On Sunday, 15 November 2020 at 17:21:23 UTC, Timon Gehr wrote:
> In D the only reason this would happen is because you 
> (continuously) allocate memory during the main game loop. Don't 
> do that and you'll be fine. I can understand wanting to avoid 
> binary bloat, but the GC does not cause stuttering on its own.

No, all threads that have owning GC-pointers have to halt. So 
that is kinda killing a MMO client. Besides a pinning GC will 
roughly double your memory consumption and lead to more memory 
fragmentation. A single threaded GC with compaction, on the other 
hand, could actually be beneficial.

More information about the Digitalmars-d mailing list