4 ms·
The Minecraft Java world starts with decompiling bytecode, replacing methods, and recompiling it. I struggle to think what could be further from either static t
by danielheath 3y ago
The Minecraft Java world starts with decompiling bytecode, replacing methods, and recompiling it. I struggle to think what could be further from either static types or memory safety - although at least that happens in the mod loader, and the mod code needn't be aware of how the sausage is made.
- NelsonMinar 3y agoI don't think any of those steps significantly disrupt type checking or memory safety. It's hacky as all hell but it's still constrained by the JVM and bytecode validity.