What Programming Language Are Video Games Written In?

TIME : 2016-01-07
What Programming Language Are Video Games Written In?

C++ is the traditional answer, and for good reason. It gives you close control over memory and hardware while still allowing high-level structure, which is exactly what a game engine needs when every millisecond counts.

It is far from the only option, though. Studios use C# for engines like Unity, Java and Kotlin for mobile, Lua for scripting game logic, and increasingly Rust for new engine work. Python and JavaScript show up in tools and browser games.

So: C++ if you want the classic AAA answer, but the language matters much less than understanding how the engine works.