Re:Stride – Open-source C# Game Engine
by kevingadd on Sunday February 05, 2023 @01:13PM
(#34667202)
This is a great strategy as long as you can keep the pause times low enough - especially if you manage to hide the gc behind vertical sync. Getting the exact timing for that is a little tricky, but if your game is running fast enough you've probably got upwards of 5ms waiting to be used while your main thread blocks inside Present/SwapBuffers. (Because those functions are native OS APIs, there won't be managed code on the stack and the GC should be able to run.)
[ Parent
| on HN ]
There are no comments on this comment yet.