r/ProgrammerHumor • • Oct 07 '26

Meme minecraftException

Post image
9.3k Upvotes

830 comments sorted by

View all comments

Show parent comment

16

u/mrderp1212 Oct 08 '26

Yea but these mods are written in Java, so it's a Mojang issue not java. The JVM and javac have gotten much better in the last few years, it's no longer as slow as it used to be. Tbf idk what version Minecraft runs, but assuming it's somewhat recent there wouldn't be that much of a difference between a java or C/cpp/c# implementation 

3

u/Ty_Rymer Oct 09 '26

funnily enough a bunch of different optimization mods are really focussed around garbage collection and memory optimizations, calling C bindings instead of doing the same operation in java, or offloading things to other threads so you can spread the load over multiple frames. these optimisations being needed at all is a direct consequence of the jvm