If you are speaking in terms of game programming, C++ is still the king. C#, Java, and Python are also valid choices.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
C++ has been the language for games for like 15+ years, i dont think its going to change that soon
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
C++ with OpenGL is joyful. My dreams are powered by that combination.
But, it depends what you mean by 'game' really. One could write tic-tac-toe in PHP; one ( or more ) could write Quake 3 in C++ with OpenGL.
You can get OpenGL for Python, and other languages probably.. To be honest with OGL, the redraw time when presented with all necessay information can be way longer per cycle than the time taken to mess about multiplying matrices, calculating and reacting to collisions, or running basic AI algorithms... the point being, using a language that traditionally executes slower than C++ for the main part of the game ( the part that isn't implemented in the, often 3rd party, complete, and likely written in C or C++ graphics or physics libraries ) isn't necessarily a limiting factor.
What language would you like to write in, and what would you like to create?
MattEvans
Veteran Poster
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
yes i mean, a large number of modern games still use assembley code for speed critical parts (the rendering engine in quake, for example)
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
C# with XNA is gaining some popularity as well, but production games for the most part still rely on C++. As said above - it depends on what you want to program. As a new game programmer, the language is going to be the least limiting thing you'll face.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
i agree. C# is just a bit too slow at the monent for real games though but maybe in the future
Why dont they make a new C - C+2 anyone ? (lol)
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
They use Python a fair bit in turn based strategy games actually (The newer installments in the Civ familty, for example)
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
Python is used for scripting unit reactions, where speed isn't that essential, rather than for game loops.
AFAIK there are no complete (commercial class) games written in it.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
CIV series uses it for AI
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
which is likely scripted so they can have a generic AI engine which the script adapts for the expected reactions of each AI controlled entity in the game.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337