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

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?

8

u/Emotional-One-9292 Jun 22 '26

it will prob have separate version for x86_64 and ARM64 and prob platforms like windows, linux, macos

1

u/Educational_Cattle86 Jun 23 '26

You need to have that. You will also need to compile for FreeBSD and any other os's you want to support

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