Should i still learn Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Should i still learn Java

I'm only 13 and I only know(studied and still learning rather) Python , Ruby , Lua but I want to learn game development I hear Java is best for that so should I learn another language or would Java be best

26th Jun 2018, 12:58 AM
Yusuf
Yusuf - avatar
3 Answers
+ 10
If your game has to be fast in it's reactions, Java may not be the best choice as it's bytecode is interpreted. This will be slower than a compiled language like C++.
26th Jun 2018, 1:19 AM
John Wells
John Wells - avatar
+ 1
Java may be okay, depends on your type of game. *. Simple 2D platformers, shooters, bejewelled-clones, etcetera. Yes *. Visual Novels, Point 'n Click games, Text Adventures. Yes *. 3D games, especially complex ones with high polygon counts, lighting effects, etcetera. No *. Android game development. Yes. Notes: Aside from Minecraft (the original), Java 3D games are rare. Java isn't optimal for serious game dev. Java, as a language, is even being replaced even as Android's number one game dev choice by the likes of Kotlin, Unity & C#, and C++ owing to the growth of professional C++ engines that support Android. With C++ (performance aside) you have a plethora of game engines and can compile to almost any platform. Unreal Engine alone supports PC, phone, and consoles. Java has limited libraries for game dev and is generally slower with less freedom (take this from someone who began learning it). C++ is de facto in the industry for a reason. It may also be the last language you'll ever need to learn.
26th Jun 2018, 10:48 AM
non
0
C++ will be great!
26th Jun 2018, 2:51 AM
Dilip Srinivas
Dilip Srinivas - avatar