Thread: Correct programing language for games?

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    230

    Correct programing language for games?

    Which is the correct programing language for games?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    There is no one single programming language that is always the correct choice for game programming.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    There isnt one.

    Lots of commercial games use C++ or C, but you can use lots of languages

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Agreed with the posts above. It highly depends on the platform you code for and how quick the game has to be. A pet-game which you would probably make could be done in pretty much any language, including visual basic.
    However, games for the iPhone would probably use Objective-C as that is the usual "language of choice" for the iPhone, though it probably supports some other languages as well (not sure about this).
    Professional games are usually made in either Java or C/C++. The games that are extremely complex and have to be fast will be made in C/C++, for the rest there's a choice between Java and C/C++. But still, a computer running a Java game would probably require slightly more resources than the same C/C++ game.

  5. #5
    Novice
    Join Date
    Jul 2009
    Posts
    568
    Quote Originally Posted by brack View Post
    Which is the correct programing language for games?
    If you have to ask the question, this is the least of your concerns.

    (
    I'm no expert, least of all on game development, but it seems to me that there is a whole lot of questions that should be answered before choosing the programming language. F.ex. your choice of platform will heavily influence what programming languages you can use.
    )

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The value of learning a new programming language
    By h3ro in forum General Discussions
    Replies: 21
    Last Post: 06-13-2009, 01:48 AM
  2. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  3. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  4. Enough language discussions.
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-13-2004, 09:59 AM
  5. Fun Learning a New Language
    By UnregdRegd in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-30-2003, 10:03 PM