News for hackers. Stuff that matters.
Re:Modern C++ gamedev: thoughts and misconceptions by pansa2 on Saturday May 16, 2020 @09:04AM (#23203057)
While I’m not suggesting using Go for game development, don’t most games include code written in a language with garbage collection? If not C#, then a scripting language like Lua?
Re:Modern C++ gamedev: thoughts and misconceptions by PezzaDev on Saturday May 16, 2020 @09:16AM (#23203137)
And everyone wishes they hadn't :P Even modders that use Lua have to write code that avoids allocations, caching and reusing all the objects they can. I can't stress enough how much time is spent on optimising code to avoid GC pauses. The main goal of my C# coding style is avoiding unnecessary allocations at all costs. I'm not exaggerating.