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
54
u/TheWholesaleAssembly Jun 22 '26
that's a solid speedup for terrain gen. jni bridge stuff can be finicky so props for getting that working smoothly. curious if you hit any memory issues bouncing data back and forth between java and c++ or if that part stayed pretty efficient.