Minecraft
Welcome to the Minecraft community on Lemmy and Kbin!
The home for all posts related to the Minecraft franchise: from the classic game to the mobile ports, mods, adventure games, merchandise and similar!
Official Lemmy.world server available!
Lemmy.world hosts an official server that welcomes all players to contribute and have fun:
Minecraft Version: 1.20.x
Address: minecraft.lemmy.world
Please make sure you read our rules before posting.
Rules:
Rules can be clicked on to be expanded.
1: Treat all users with respect.
Bullying, threathening, doxxing, or toherwise hostile behaviors with any of our users will not be tolerated. Be civil, have fun.
2: Posts must be related to the Minecraft franchise.
This includes the main game, titles like Dungeons, fan art, wiki pages, toys, new feature votes, and similar content.
3: No advertising.
If you want to share a product you're a manufacturer or seller of, please contact the moderation team first. Affiliate links to online shopping stores or affiliate coupon codes are not allowed.
4: No piracy.
Links or discussions about cracked versions of games, unauthorized copies of copyrighted material and other similar piracy-related content are not allowed.
5: No NSFW or adult content.
This community is inclusive to users of all ages. Keep in mind Minecraft attracts children and adults alike. Therefore, no NSFW content is allowed.
6: No low-effort meme content.
Memes are allowed, and so are comics or other fan creations. However, low-effort reposts and otherwise overused memes will be removed.
Reddit reposts are allowed.
Reddit reposts are allowed, but you need to include the tag [Reddit] in the title.
Related communities:
-
PC Gaming: [email protected]
-
Games: [email protected]
-
PC Handhelds: [email protected]
-
Minecraft modding: [email protected]
view the rest of the comments
TBH, Minecraft development has always been extremely conservative. Even basic "hard" features like a modding API, cubic chunks, LoDs or an optimized renderer were too extensive to do.
Bedrock is basically Microsoft sicking a whole team onto a C++ rewrite for their business purposes, not Mojang's core devs deciding to do it.
This is not bad, per se. Their careful, slow direction stopped JE from getting enshittified, bloated, buggy, things like that. But it’s been kinda frustrating, too, given Minecraft’s enormous user base.
Microsoft definitely has enough funds to rewrite java edition in C++. Would it be possible to ensure mod compatibility tho?
No, the Java version runs within the JVM and the C++ version would run via native code. That's effectively like having something work on an ARM processor and an x86 processor at the same time.
They both could be modded, but it's harder to mod C++ because the optimization phase is ahead of time. Minecraft modding is in part an accident because the optimization phase happens during runtime within the JVM ... that means the binary ".jar" files align much more closely with the code mojang wrote ... where as an ".exe" would be radically changed.
C++ modding would also be more difficult because it's harder to preserve stability in C++. In the JVM, basically the only way the program crashes is if an exception goes uncaught or the programmer explicitly asks the program to termite (which never happens). In C++ there are still exceptions but there are a whole lot of things that are exceptions in Java that aren't in C++ ... so you can't just fence off the modding API cleanly and say "if an exception is thrown while running this mod keep going."
Those two reasons are the major reasons that games pick Lua over native C++ based mods (that and you can secure Lua and prevent it from doing anything it wants ... Java and C++ mods can do anything they want, which is part of why the Minecraft modding scene is so good; if you want to connect to a database for administrative purposes, you can write that mod server side and have your database of block changes to find griefers, your plot database to protect plots, your store database to provide shops, etc).
TIL! Thanks for the explanation. What if they rewrote it in Lua :P
You would get 3 FPS 🙂