Most games in today's world are written in C ++. Why not?
What should I do? Write games.
What do you need to consider first when writing a game? What kind of game, how to implement graphics, sound effects, and game logic.
What should I consider before using C ++? Define cross-platform Data Type abstraction, implement common collection classes, design macro-implemented rtti, write a string class that supports Unicode and can be converted to other string types, custom memory distributor, write a shared_ptr file, organize the pre-compiled header file, and design and implement the object base class to handle problems such as cross-dll Memory Management ......
So what does this have to do with games? If you don't do this well, it's hard to start writing games.
How long does it take to talk about these things? A lot of time.
That's why it takes a lot of time to focus on solving the language's own shortcomings, rather than the game itself. In particular, people tend to be perfectionist. Each of these basic problems can discover deeper problems and further optimize them, which further consumes valuable time. This can also explain why there are so many engines and engine foundations, because time is spent on the underlying layer.
The emergence of new technologies is fast, and the game architecture is also fast. Patch stack patching is a common problem in the gaming industry. If it cannot be completed, it will have to be replaced by a new one, whether you use the holy C ++ or not. Game developers are consumable, so they want to develop a little bit, so they have a short life and are happy in time. There is a saying "Good managers don't torture their programmers with bad Tools". Similarly, smart programmers don't need c ++ to torture themselves. If necessary, try to find a ready-made class library, unless it is dedicated to the underlying technology.