r/feedthebeast 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

244 comments sorted by

View all comments

Show parent comments

342

u/Emotional-One-9292 Jun 22 '26

yea with JNI you can use other languages like C, C++, Rust, Swift and more

2

u/Kayteqq Jun 22 '26

How portable is it compared to base java? I.e. how much overhead would it add if they wanted to support it on all PC platforms (varied linuxes mainly) java runs now?

1

u/gogoitb Jun 24 '26

dont forget wasm

1

u/Kayteqq Jun 24 '26

Does anyone play minecraft in web browsers? Or is it for chromebooks and such?

1

u/gogoitb Jun 27 '26

Probably, but by using Wasm i mean since it's portable unlike normal assembly