+ 2

Which one is good for gaming python or java?

25th Jan 2018, 2:47 PM
Ashok Magam
Ashok Magam - avatar
8 Answers
+ 3
They're both not that good for gaming. Java and Python are both interpreted languages. There are game engines for both of them. For example, LWJGL for Java, which Minecraft is written in (and we all know the performance of that game..). If you're going for a professional game, natively compiled languages are the way to go. If you're just playing around though, either language will be fine. Comes down to preference.
25th Jan 2018, 2:58 PM
SplittyDev
SplittyDev - avatar
+ 3
Mostly C and C++. But to be honest, nowadays there are really good game engines (Unreal Engine, Unity3D) that will produce better results faster. I've written games before, understanding the OpenGL API is hard, especially for beginners. You'll be lucky to properly render a rotating cube with textures on it after a week.
25th Jan 2018, 3:07 PM
SplittyDev
SplittyDev - avatar
+ 3
@Gladwyn Tay, C# isn't actually that good for writing games. It's good for beginners, because the language is easy and there are good OpenGL bindings (OpenTK) and game frameworks (MonoGame). But C# isn't natively compiled, so it's really hard to optimize performance critical games and get them to run smoothly. If you know C#, the Unity engine is a better option, because it compiles C# to native code and is properly optimized.
25th Jan 2018, 3:33 PM
SplittyDev
SplittyDev - avatar
+ 2
Java is a good place to start because it is relatively simple to make a game, but for a high quality or 3D game, I would suggest C++. It is fast and you can get great graphics libraries and engines. 2D library: SDL2 (C) 3D library: OpenGL 3D engine: Unreal Engine
25th Jan 2018, 4:19 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
Out of those two Java is more "for gaming".
25th Jan 2018, 2:51 PM
Vlad Serbu
Vlad Serbu - avatar
+ 1
java
25th Jan 2018, 6:20 PM
C Giridhar Reddy
C Giridhar Reddy - avatar
0
Then which language is good of creating game?
25th Jan 2018, 3:04 PM
Ashok Magam
Ashok Magam - avatar
0
actually for games use c# and html5 to programme
25th Jan 2018, 3:30 PM
Gladwyn Tay
Gladwyn Tay - avatar