I have a plan.. I really DO

Ecstatic Coder ecstatic.coder at gmail.com
Fri Jul 6 17:16:54 UTC 2018


> Are you seriously going to ignore video games that are entirely 
> implemented in GC focus language such as C#/java?! The GC is 
> NOT AN ISSUE IF YOU KNOW WHAT YOU ARE DOING!
>
> -Alexander

+1

Indeed ABSOLUTELY NO garbage collection will happen during the 
game loop is 100% of your GC-language code doesn't make any 
string concatenation, object allocation, etc.

While ANY C++ game can make ANY number of allocations/allocations 
inside a game loop and still run without a risking any freeze. I 
will probably slower than it should, so you'd better don't make 
too much of them ;)

But the game won't freeze.

C++ is allocation/deallocation tolerant to a reasonable extent.

GC language aren't. You eventually have to reach the ZERO 
allocation limit, or you expose yourself to unwanted game freezes.




More information about the Digitalmars-d-announce mailing list