D for Game Development
Alex Parrill via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 30 08:29:23 PDT 2015
On Thursday, 30 July 2015 at 15:10:59 UTC, Brandon Ragland wrote:
>
> It's a dog because Java is a dog. But that's not because of the
> GC.
>
> It's not really that bad either, I can open up Minecraft at any
> time and have it sit in the background quietly using ~800Mb ram
> and virtually no cpu time.
It's mostly because, in Java, every one of those tiny immutable
`(x,y,z)` tuples and vectors have to be allocated on the heap.
D is nice because you can allocate such small things on the
stack, but it also doesn't have a massively optimized collector
either.
> Either your kid has tons of mods in their Minecraft or your
> computer is a bit dated.
Tons of mods is the only way I can (or more accurately, can't)
play MC anymore.
More information about the Digitalmars-d
mailing list