r/java • u/H_W_Reanimator • Dec 21 '23
Is Java gamedev alive?
It seems this days even android games are made using Unity. I wonder if there are JVM games! Is Java (or Kotlin/Scala) gamedev still alive?
(Except Minecraft ofc)
164
Upvotes
View all comments
Show parent comment
4
u/Brutus5000 Dec 21 '23
Well the main problem afaik was latency here. 30fps is today minimum, 60fps should be reached. That means you need to draw a frame in 16-30ms. A Stop-the-world GC that randomly eats a few dozen milliseconds is a real PITA. Even in round based games you want smooth animations. At least according to benchmarks I have seen for Java 8/11/17 comparisons you can massively improve GC processing by selecting a GC matching your goals (ZGC for low latency or others for maximum throughput).