Looking for a Lua alternative
matheus
matheus at gmail.com
Thu Dec 14 18:18:21 UTC 2023
On Thursday, 14 December 2023 at 15:44:21 UTC, IGotD- wrote:
> ...
> Which has GC (reference counting/tracing hybrid) and yet it is
> used in video games. If D can improve the GC implementation it
> will be suitable for games as well.
I hope do not to disturb the thread, but why people use GC in
games?
I always allocate everything I want before hand and work with
that space.
Now If someone would like to write a game with GC in mind,
wouldn't be reasonable to do:
Allocate();
GC.disable();
run_the_game();
GC.enable();
?
Matheus.
More information about the Digitalmars-d
mailing list