• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java versus C++ 3d gaming

 
David Miranda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know if this is a rumor or not, but I've heard consistently that new commercial 3d games are not developed in Java because Java is slow in comparison to C++.

Is this true? Why?
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not true, unless it is for the perseption that Java is slow. Hasen't been true for a long time (at least in computer time).

However there are other reasons for choosing C++ over Java in comercial games. The biggest of which would probably be that most comercial game developers know C++/C. You would have to come up with a pretty convincing argument as to why a company needs to fork over alot of cash to retrain their developers in Java. Also if you want to write for DirectX you would probabaly go with C++ (although I don't see an advantage over OpenGL/AL ect., but I'm not an expert).
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See also the discussion here: http://www.coderanch.com/t/202347/Performance/java/Java-API-performance
 
K Riaz
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you try to enter the Games Industry as a developer, the first thing companies look for is knowledge of C/C++. I have never heard of Java being a requirement, nor any good game developed in this language. Infact, a games "expert" even said that Java is considered slow (as much as Java Ranchers hate to hear it) and thus not much of use. The companies which produce the games (e.g. EA) know more than us, and they don't usually use Java for commercial games. So even if people continue to advocate Java as a "fast" language, the truth is that nobody really takes any notice. Java will find it hard to shake of its "slow" tag in the games industry.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic