News for hackers. Stuff that matters.
Re:Minecraft: Java Edition now uses SDL3 by Night_Thastus on Sunday July 19, 2026 @11:11AM (#48968875)
It did used to be required. Older Java versions performed pretty terrible. However, Java 17+ completely fixed that. Even the heaviest modded setups run buttery smooth, even on older versions which are not well optimized.
Re:Minecraft: Java Edition now uses SDL3 by cogman10 on Sunday July 19, 2026 @11:19AM (#48968947)
It really wasn't and was always dubious.

A lot of the advice, for example, suggested using CMS. Which has been a terrible garbage collector almost since it was added to the JVM. When G1GC landed in 8, that was the correct GC to select for minecraft. Even the parallel collector would have been a better option than CMS in a lot of cases (sub 4gb heaps).

It was placebo. People wanted there to be SOMETHING that made things better so they reached for the billion different flags on the JVM (rather than fixing the underlying code). I've seen the same sort of mentality professionally and it's basically always been wrong.

Re:Minecraft: Java Edition now uses SDL3 by Quekid5 on Sunday July 19, 2026 @06:19PM (#48972181)
Yep, once people discover the multitude of JVM flags the cargo culting begins...

It really applies to anything with a huge number of options, I remember similar things from back when I used Gentoo and the wild suggestions I'd get for what exact CC/C++ compiler options to use...

Re:Minecraft: Java Edition now uses SDL3 by nananana9 on Monday July 20, 2026 @01:09AM (#48974562)
> rather than fixing the underlying code

There's not much you can do to fix the underlying code if the language doesn't allow you to declare a struct Vector3 { float x, y, z; } without heap-allocating it.

Re:Minecraft: Java Edition now uses SDL3 by pjmlp on Sunday July 19, 2026 @11:30AM (#48969039)
It was more like Minecraft code was horrible, than anything else.

Creating objects like crazy, range for in hot paths, not caring about data representation, chosen algorithms,....

JIT and GC were already doing heroic efforts.

Yet, it settled Notch for life, which is something to take into account in the usual question regarding which technical stack for games.

Re:Minecraft: Java Edition now uses SDL3 by hwyadenlaw on Sunday July 19, 2026 @12:11PM (#48969371)
For sure. The tech only needs to be good enough to support the game design. For some games that means very high optimisation is needed, and for others it's enough that the screen can refresh before the user gets tired of waiting.
Re:Minecraft: Java Edition now uses SDL3 by Night_Thastus on Sunday July 19, 2026 @05:43PM (#48971946)
Minecraft 1.7.10, covered in mods, can run fantastic (300+ FPS) if Java 25 is used. That used to be impossible.
Re:Minecraft: Java Edition now uses SDL3 by vintermann on Monday July 20, 2026 @02:16AM (#48974895)
Thanks to the Gregtech New Horizon folks.
Re:Minecraft: Java Edition now uses SDL3 by 0x3444ac53 on Sunday July 19, 2026 @08:27PM (#48973034)
Yeah at the time it was bad. Now, it's a pretty nice codebase