OT: Minecraft death by GC

Kapps via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 21 00:37:04 PDT 2014


"Maybe the biggest and the ugliest problem is the memory 
allocation. Currently the game allocates (and throws away 
immediately) 50 MB/sec when standing still and up to 200 MB/sec 
when moving. That is just crazy."

Wonder how much better that would be if Java had proper value 
types. The idea of allocating on the heap for every single 
Vector3f makes me sad.


More information about the Digitalmars-d mailing list