C++ Game development
Posted Dec 10, 2005 6:03 UTC (Sat) by mvogt
In reply to: lambda functions
Parent article: The Boost C++ Libraries
I disagree with your assertion that C++ is not used for games for performance reasons. I think commercial games are very often written in C++.
If you look at sourceforge, two categories I sampled as having high-performance requirements (simulations and first-person shooters) have more than half of their listed projects listed with C++ as a development language.
C++ can be used with almost no abstraction penalty over C, depending on what features you choose to employ. There is a good document establishing the efficiency costs of various C++ features available at http://www.research.att.com/~bs/Performance-TR.pdf
I agree that many games have a component written in scripting languages; I think that this is probably a reflection of the rapid time-to-market pressure in the game market as much as anything else.
to post comments)