This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java versus C++ 3d gaming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java versus C++ 3d gaming" Watch "Java versus C++ 3d gaming" New topic

Java versus C++ 3d gaming

David Miranda
Ranch Hand

Joined: Mar 14, 2005
Posts: 34
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

Joined: Dec 29, 2004
Posts: 1071
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

Joined: Jul 11, 2001
Posts: 14112
See also the discussion here:

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
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.
I agree. Here's the link:
subject: Java versus C++ 3d gaming
It's not a secret anymore!