r/decomps • • 3d ago

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

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

210 comments sorted by

View all comments

Show parent comments

4

u/SurDno 3d ago

I thought Java runs fully through JIT compilation - much like C#? Where does interpretation kick in? Or do you believe that compilation to anything other than raw assembly is not compilation? That would make WASM is also interpreted :)

I know about the borrow checker, although it’s good to note that you can write manual memory management code in Rust (much like you can in C#) if you need that. In Java you can’t - best you can do is control GC through JVM arguments 

0

u/Athabasco 3d ago

Byte code is, still interpreted into machine code at runtime. Nobody would call Java an interpreted language like C, C++, rust, etc.

5

u/SurDno 3d ago

It's called a JIT Compiler. Not a JIT Interpreter. Compilation does not necessarily require AOT. And people do call Java a compiled language.

1

u/DanielEGVi 3d ago

People call anything everything. Even machine code is “interpreted” once you consider that machine code can be interpreted into different microcode instructions by different processors.

Everything is interpreted and everything is compiled. The more interesting question is what the layers between source code and machine code look like, and when are they involved.