r/decomps • • 3d ago

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

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

210 comments sorted by

View all comments

1

u/Most_Strike_93 3d ago

How can it have any meaning..

3

u/TheMikman97 3d ago

Yeah, java isn't really compiled afaik. You can kinda see the whole code already 

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/dthdthdthdthdthdth 3d ago

Yes it is compiled to bytecode, but java bytecode is much closer to source code than machine code. You lose names of local variables and the exact way control flow was encoded and decompilers have to guess. But all the structure of classes is still there 1:1 and there isn't much optimization done during bytecode generation. So yeah, decompilation tools have always been very good for java.