D is our last hope

DrDread DrDread at cheese.com
Tue Dec 12 12:40:15 UTC 2023


On Tuesday, 12 December 2023 at 11:05:30 UTC, Martyn wrote:
> Game programmers NEED CONTROL OF MEMORY.

while this is true, it's not true for the whole application. 
there's a lot of things in games that _do_ benefit from having a 
GC (or any other form of automatic memory management).

what you don't do is use the GC to track particles or game 
entities. but you can easily use it to allocate the arrays in 
which you manually manage those.




More information about the Digitalmars-d mailing list