4 ms·
How do you prevent unfortunate GC pauses for your game engine? I have two conflicting thoughts lately: "I want to use Lisp for everything! Oh but what about GC
by Hexstream 18y ago
How do you prevent unfortunate GC pauses for your game engine? I have two conflicting thoughts lately:
"I want to use Lisp for everything! Oh but what about GC pauses in games?"
- LogicHoleFlaw 18y agoLua is used in games often. It does have GC, with an incremental non-compacting generational GC. If you do get pauses then there are various methods of forcing GC on a regular basis, or just generating less garbage. It works well in practice.