On Monday, 11 December 2023 at 18:39:22 UTC, IGotD- wrote:
> ...
Future games will have GC whenever you like it or not. Games are becoming more and more complex the benefit of having GC is obvious.
It is a misconception that having no Garbage Collector is bad or dangerous or silly. It is also misleading that (games programming specifically) will "benefit using a Garbage Collector as games get more complex."
Game programmers NEED CONTROL OF MEMORY. The only time I can see this ever changing is if hardware evolves at a faster rate than software. The reality is the opposite. game programmers have to squeeze every inch out of the hardware. Of course, I am referring to the AAA titles.
If you are making a 2D platformer, you could probably write it in Unity (and do a fairly poor job) and it will still run at 60fps on your PC. Of course, we are not talking about those games.
Performance is key and they are writing their own memory system. They also write it to suit the type of game they are making. They won't just use the default GC that comes bundled with a programming language.
Also, if there ever is going to be a C++ replacement in the gaming industry, I think Odin or Jai are going to win. They are not "GC languages"
On Monday, 11 December 2023 at 17:54:52 UTC, ryuukk_ wrote:
> On Friday, 8 December 2023 at 13:29:54 UTC, IGotD- wrote:
> On Thursday, 7 December 2023 at 19:21:10 UTC, Paulo Pinto wrote:
> Unreal is also full of OOP, and Unreal C++ alongside Blueprints uses a GC.
Their business is doing quite well.
..
..
Computer games and GC is really a good match
No, this is misinformation
Contact any game studio and tell me how they feel about the GC in Unreal/Unity
Tell me why do they have to work around it, specially on mobile and consoles
This is why game devs don't take D seriously, there is too much non-serious people pushing bad takes like this
https://twitter.com/cmuratori/status/1167230252797480960