Hacker News new | ask | show | jobs
by bobajeff 3790 days ago
"computers get faster"

Not everywhere. Phones, tablets and older or low end laptops are very popular.

1 comments

Phones are really quite fast these days. C# is a perfectly reasonable choice for a phone game.
C# is a perfectly reasonable choice for a phone game that can afford garbage collection pauses. This means turn-based.

In every other case, you're better off using a language whose resource management model doesn't fight you.

Swift is the best of both worlds in this regard.

Considering virtually every major mobile game is unity these days, is this really an issue?
Not at all. Memory management for games is something you have to pay close attention to, no matter what's your strategy for dealing with garbage. But this whole GC discussion is missing several years of technology development and best practices.

Besides, it is not guaranteed that you'll succeed with a manual strategy for dealing with garbage. Naive strategies have a really low throughput. They may not stop the world, but will be slow.

Unity is a C++ engine. Only the game code is done in C#.
You mean like those engines done in Assembly with C and Turbo Pascal as scripting logic 20 years ago?