Hacker News new | ask | show | jobs
by jacobquick 4615 days ago
At this point there isn't one language for game devs. Even companies that strictly develop for PC tend to do their engine in C++ and then extend the ide with a scripting language like lua or python. Civilization 4 is a great example of it because they put the python api out as the user-moddable part of the game and it spawned this huge community. Other platforms like android (with its giant installed base) are basically java. So C++ isn't really the only answer to begin with.

Based on what I've been messing around with lately I'd look at go for maybe being a good complement or replacement for C++. Most of the time I'm making something with two major loops: game logic and rendering. Because of the way go interacts with C++ it's not hard to do the game logic in go, where I get massive benefit from "free" concurrency and pretty nice execution speed and then render in C++ where you can get back down to pointer arithmetic if you have to. This is outside of supporting any kind of scripting api/ide which I typically don't deal with but just for familiarity's sake and expecting others to use it later I would probably do in python.