News for hackers. Stuff that matters.
Re:What's new in C# for Godot 4.0 by andix on Sunday February 26, 2023 @09:13AM (#34945680)
What are the specific requirements for games? C++ is also not built for games. It’s built for anything, including games.
Re:What's new in C# for Godot 4.0 by mastax on Sunday February 26, 2023 @10:04AM (#34946074)
Consistent low latency, perhaps.
Re:What's new in C# for Godot 4.0 by andix on Sunday February 26, 2023 @01:50PM (#34948160)
I don't see a lot of options how you should optimize that, besides using allocation free code. .NET (Core) did a lot of work into this direction for Kestrel HTTP server already (Span, ref structs). It's still a managed platform with a garbage collector, but I don't think games have such low-latency requirements, that can't be handled with the standard garbage collector. A few milliseconds are usually fine for games, even with 120Hz the time between two frames is still 8ms. And garbage collection can be suspended during critical phases.