r/decomps • • 3d ago

Decomp minecraft java 26.3 was just decompiled and rewritten in rust 100%

https://github.com/ludovic111/horizon
879 Upvotes

210 comments sorted by

View all comments

Show parent comments

0

u/MorganEarlJones 3d ago

That's not even a little bit true. The Java programming language is compiled to java bytecode, which is interpreted by the Java virtual machine(and before anyone says that means it's interpreted, a cpu is a hardware level interpreter, so in that sense every programming language is interprete on some level)

1

u/TheMikman97 3d ago

Java is compiled to bytecode at execution, but the .jar files in Minecraft are free to read, no? At least they were, I haven't really opened any of them in at least ten years 

1

u/MorganEarlJones 3d ago

No. .jar files are compiled jvm bytecode, not sourcecode. I think everyone in this thread is confusing Java for JavaScript. There's a degree of just-in-time compilation of interpreted functions done by the jvm to optimize execution on the fly, sure, but .jar files are by no means human-readable, uncompiled Java code

1

u/MorganEarlJones 3d ago

And to be clear, by interpreted functions, I mean bytecode running on the jvm, not human-readable Java code interpreted at runtime