Hey everyone,

I’ve been working on a project called **rjust**. It’s an experimental modding framework and runtime environment for JVM applications (specifically aimed at Minecraft) written entirely in Rust.

The main goal is to decouple heavy computations from the JVM garbage collector by orchestrating native execution threads in isolated sandboxes. The framework splits execution into standalone boundaries and communicates via IPC.

I also ended up writing my own lightweight incremental build system in Go called **cbs** (Crow Build System) just because I couldn’t stand Gradle anymore. It uses SHA-256 hashing to track task inputs/outputs and skips unnecessary recompilation completely.

Both projects are open-source under GPL-3.0.
rate

GitHub Links:

* Framework (Rust): https://github.com/twixremi/rjust

* Build System (Go): https://github.com/twixremi/cbs

by Most_Ad_210

3 Comments

  1. MattiDragon on

    I’m struggling to understand the point in this. It seems like you want mod logic to be written in native code for performance, but I doubt you’ll get any performance benefit in normal circumstances due to FFI overhead. In most cases JITed Java is fast enough, and with gradual improvements in the JDK, the GC stuttering is mostly eliminated. The only cases where native code makes sense are computationally heavy, and there I feel like calling native code from a Java mod makes most sense.

    I also don’t see any examples that actually do something meaningful. Could you make a mod that adds a simple item to the game? What about a button on the title screen? I don’t see any hook/mixin system that would allow you to actually make modifications to the game and based on the code even just calling a basic method requires lots of JNI scaffolding.

    Your sandboxing also seems useless. If a mod can all any java code, it can do everything that normal malicious mods can. The most promising experiments in sandboxing mods are based on putting the entire JVM in an OS level sandbox, as those are generally watertight. I doubt you can properly sandbox mods without crippling them in the process.

    Overall I fail to see how your project actually does anything meaningful nor how it’s better than existing solutions.

  2. MattiDragon on

    Your build system also feels very basic and kinda unnecessary. Again I can’t find any example with meaningful build steps defined. Maybe it’s nice for some basic logic, but I doubt you could even get it to launch minecraft without lots of additional code (a basic feature expected from any mod build tool).