Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Game Programming as Hobby, should I use Java or C++ [closed]

Tags:

java

c++

Presently, i am learning Java from the book The Art and Science of Java and following Standford's Programming Methodology Course.

I would like to do game programming, but only as a hobby.

I was thinking, would Java be a good choice or is C++ the defacto in game programming.

like image 654
Ibn Saeed Avatar asked Nov 26 '22 21:11

Ibn Saeed


2 Answers

Since you are learning Java i would recommend that you stick to it.

If you are only developing games for fun, it won't really matter what language you use.

like image 92
Silfverstrom Avatar answered Nov 29 '22 11:11

Silfverstrom


That depends, do you want to learn more about C++? Do you need to know? There's still OpenGL libraries in Java that are available, and the concepts would essentially be the same regardless of what language you work in. If it's just for a hobby then I can't see anything wrong with working in Java. In terms of speed however, lower-level languages are prefered.

like image 26
Kezzer Avatar answered Nov 29 '22 12:11

Kezzer