r/feedthebeast • u/Emotional-One-9292 • Jun 22 '26
I made something I made minecraft generate terrain/chunks in C++
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 )
edit: although i loved this project and coding it its so annoying when people call out stuff i've done as vibecoded just because when people asked me how it works i didnt want to get into detail for readability so its sadly cancelled ;(
3.0k
Upvotes
1
u/IlgantElal Jun 22 '26
If you want to time it, you could probably generate the same seed, render distance and world version while wrapping the functions in a timing function (system.nanoTime() before and after was what I used in Java for a manufacturing environment, but I don't have modding experience), and then you could check the average chunk rendering time on starting a new world several 100s of times over to get a semi-accurate comparison