Re:KotCity – an open-source city simulation game written in ...
by realusername on Sunday March 18, 2018 @05:56AM
(#16611182)
> The JVM is fast enough for Minecraft,
That's debatable, the requirements for running a Minecraft server are quite big for what it does and it's very easy to make it lag.
Re:KotCity – an open-source city simulation game written in ...
by peoplewindow on Sunday March 18, 2018 @06:14AM
(#16611218)
Well, "fast enough" is pretty vague. But bear in mind that Minecraft has never seemed to care about optimisation. For the longest time it was still running Java 7 even when Java 8 with the G1 collector had been out for a long time, and improved performance quite a bit.
HotSpot has a pauseless GC these days from Red Hat and is getting another one developed by the Java team itself, so even Minecraft's very heavy use of GC should be ok (heavy, after the new devs "improved" Notch's code to use objects everywhere instead of passing coordinates in separate parameters).
The JVM is fast enough for Minecraft, it should be plenty fast for this. But if you ever do want to compile to native then Kotlin/Native would make a lot more sense than a rewrite in a completely different language.