The best programming language for game developers

Dani AI

Generated

Good thread — , and noted important points. The short answer is: pick the stack that matches what you want to build and how you like to work. The posts list common choices; this adds a practical way to decide and what to learn next.

Think in layers rather than single languages. One layer handles low-level, performance-sensitive systems; another handles gameplay and rapid iteration; a third covers tools, exporters and build pipelines; the browser is its own runtime with different constraints. For a given project, decide which layer will be the bottleneck and choose technology to match: fast edit/test cycles for game logic, compiled/native modules for hotspots, and robust libraries for tools work.

A simple workflow to follow:

  1. Define the smallest playable target (platform + core mechanic).
  2. Prototype quickly to validate game feel.
  3. Profile the prototype to find real bottlenecks.
  4. Move only the slow parts to a lower-level implementation; keep the rest where iteration is fastest.
  5. Factor in tooling, community libraries, and maintainability — they matter more over a long project than microbenchmarks.

Skill checklist that often matters more than a specific language: real-time patterns (game loop, fixed timesteps), basic linear algebra, debugging and profiling, version control, and a small shipped project. For browser-focused titles, investigate WebAssembly; for lightweight, open engines check options like Godot. Finally, scan current job listings or indie marketplaces for the kinds of projects you want to join or sell — that will quickly show which stacks are most useful for your goals.

Recommended Answers

All 3 Replies

I would think c++, but I guess it depends what type of game and for what platform?

is right: C++ for Windows.

C# is important as well, as it's what Unity uses.
Java for Android phones, obviously.
C++ for those using Unreal Engine.

Both Java, C#, and C++ have (to various degrees and with various restrictions) the option to be used for cross platform development.

However, many games are more scripting into a pre-built game engine either developed in-house or purchased externally, and that scripting is usually done using either Lua or some custom language specific to the game engine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.