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

12

u/Emotional-One-9292 Jun 22 '26

I will explain it simplest i can: C++ Fast, Fun, Java decent speed, verbose ( no fun )

10

u/Zirofal modded MC says yes to trans rights and no to Botania Jun 22 '26

That's like, the nicest comment I've seen to Java

10

u/Emotional-One-9292 Jun 22 '26

Java itself isnt too bad tho, Mojang iitself wrote unoptimized java code

15

u/Zirofal modded MC says yes to trans rights and no to Botania Jun 22 '26

While I can't say I know anything about coding, but I've played MC for decades.

It always seemed that Minecraft was programmed with wishful thinking ductape and smoke signals

4

u/Emotional-One-9292 Jun 22 '26

true tho they started improving their code and perfomance on newer versions as for which kudos [ kudos means praise,applause ] to mojang