+ 1

Which is better for game programming?

C++ or Java

4th Dec 2016, 4:24 AM
Ishan Sharma
Ishan Sharma - avatar
4 Answers
+ 4
Depends on the application. Java is good for cross-platform games and applications, whereas C++ is strong with making games/applications with a fast run-time.
4th Dec 2016, 4:29 AM
Keto Z
Keto Z - avatar
+ 3
Java is good if you want to create android games and link it to PC as well, like minecraft. C++ is better for creating PC-only games (Mostly due to the fact that Unreal Engine supports it and C++ is better than Java.)
4th Dec 2016, 5:43 AM
Wen Qin
Wen Qin - avatar
0
c++ and java are not the only languages you can make games with. any language is viable if you know it well enough. you can use even Python, and not only for small projects, Eve Online was built using Stackless Python as an example.
4th Dec 2016, 9:24 AM
asdadasdsaczxc
0
C++ is mostly used for complex games where performance is critical, like PC / Xbox/ PlayStation, Java can be used for Android or for browser games. I do not know any game that for PC written in Java except for Minecraft. But what could as well be, is that the game engine is written in C++ but the actual game logic is written in scripting languages like JavaScript, Lua, Python or in a very high level engine the developers just drag and drop and do not program at all. But in the end C/C++ always sits at the bottom.
4th Dec 2016, 11:19 AM
Jakob Robert
Jakob Robert - avatar