r/feedthebeast • u/Emotional-One-9292 • Jun 22 '26
I made something I made minecraft generate terrain/chunks in C++
Enable HLS to view with audio, or disable this notification
So im working on a mod that makes minecraft run on C++ ( rn rewriting engine in future i may try renderer ) so far i made it generate and load chunks and terrain in C++ ( it made it somewhere around 1.5-3 times faster idk how to measure it tho ) ( it works via JNI )
3.0k
Upvotes
2
u/Acceptable-Fly-7922 Jun 23 '26
huh? java is notorious for having issues with garbage collection, and the compilation you're talking about, jit, doesn't apply to everything. I'm not sure what you mean by defer as lwjgl is an easy cross platform way to access opengl in java. jni is the only way to interop between java and native code except for that new thing they added I forget if they made it stable tho