News for hackers. Stuff that matters.
Re:GC progress from JDK 8 to JDK 17 by 3371 on Wednesday November 24, 2021 @10:26PM (#29337946)
Well, Minecraft is notoriously slow, but I guess that's very much nothing to do with Java, but the un-optimized code... Have seen quite some developers criticizing Mojang for this.
Re:GC progress from JDK 8 to JDK 17 by spijdar on Wednesday November 24, 2021 @11:04PM (#29338128)
Is it really, though? Just for kicks, last year I got an ibook g4 for a few dollars, and I got Minecraft running on it, not the absolute latest version, but one a few years old (Minecraft dropped 32 bit LWJGL support a bit ago). With some tweaking, I managed a solid 40-50 FPS, on what would have been a pretty anemic processor back in ... 2002, 2003?

Although, maybe it doesn't count as I used mods like Optifine, which are made to ... replace said un-optimized code, but I thought it was a good showing for Minecraft and the JVM anyway.

Re:GC progress from JDK 8 to JDK 17 by m9731526 on Friday November 26, 2021 @01:13AM (#29347892)
Minecraft itself it good enough for... pure Minecraft gamplay most of the time.

But it can overwhelm itself. There's a equipment called Elytra you can wear to slide down the air, and if you use Rocket when sliding, you gain a huge momentum boost.

If you keep boosting on a server, being fast enough to challenge the serverside world-loading, you can crash the server.

Another big defect is it's rendering is deeply tied to cpu time, and the game itself has limitation. My recent experience with a 200+ mods & shader setup is that with RTX3080TI (also better cpu) and GTX980TI it runs at same fps (20~30).

Re:GC progress from JDK 8 to JDK 17 by Eelongate on Thursday November 25, 2021 @12:45AM (#29338553)
> but I guess that's very much nothing to do with Java, but the un-optimized code

You guess right. There are some few fan made mods (optifine, sodium/etc) that often improve performance by an order of magnitude, from tens of frames a second to hundreds.

Re:GC progress from JDK 8 to JDK 17 by quirino on Thursday November 25, 2021 @06:06PM (#29345864)
Minecraft Bedrock, which is written in C++, runs dramatically faster than Minecraft Java. (That's the impression I get from the comparisons I watched on YouTube at least.)

It's a shame for Java since the increase in render distance makes the game much more immersive.

Re:GC progress from JDK 8 to JDK 17 by 3371 on Friday November 26, 2021 @01:21AM (#29347916)
Lack of mods is a big problem...