669
Classic Microsoft (lemmy.world)
submitted 8 months ago by FilthyShrooms@lemmy.world to c/gaming@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Opisek@lemmy.world 145 points 8 months ago

Minecraft rewritten for better performance with platform interoperability in mind and so on. Essentially what could've or should've been a replacement to Minecraft if done right. It was not done right. Quite the opposite.

[-] Mango@lemmy.world 10 points 8 months ago

In what world is c++ better for cross platform than Java?

[-] Xatolos@reddthat.com 55 points 8 months ago

In a world with consoles. Java needs a JVM, and those aren't typical with things like the Switch (2 soon), PS5, and Xbox Series (half the alphabet).

[-] Mango@lemmy.world 5 points 8 months ago

Oh ok that's fair enough. I forget those exist sometimes.

[-] EatATaco@lemm.ee 9 points 8 months ago
[-] Xatolos@reddthat.com 4 points 8 months ago

I think they meant JVMs.

[-] Mango@lemmy.world 0 points 8 months ago

Yeah, except retro consoles.

[-] Olgratin_Magmatoe@lemmy.world 5 points 8 months ago
[-] Mango@lemmy.world 1 points 8 months ago

What's that got to do with making things cross platform? Java programs only need to run in a Java runtime environment of which there's one for basically everything. If you make something that runs in a JRE, it'll be able to run on any device with a JRE that's up to date for it.

[-] kewjo@lemmy.world 4 points 8 months ago

given how many targets are supported by llvm there's really little difference in cross platform support asides from building artifacts for the specific target platform. wrapping package delivery in a package manager removes the additional complexity to the end user.

[-] Olgratin_Magmatoe@lemmy.world -2 points 8 months ago

Minecraft Java runs like dog shit. Making a faster port of it was worth it. They just botched it because Microsoft got its hands on it.

[-] Mango@lemmy.world 0 points 8 months ago

Oh yeah that totally explains why it's always been perfectly fine for me as long as I'm not looking at a giant wall of those shelves that display their contents from whatever modpack that was.

[-] Olgratin_Magmatoe@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

Bedrock routinely outperforms java.

https://piped.video/watch?v=qLjOIulsNcM

https://piped.video/watch?v=Z4GrbD2MA5o

https://piped.video/watch?v=p_mCekWWW_8

Just because you're perfectly fine doesn't mean all other machines are.

[-] Mango@lemmy.world 0 points 8 months ago

So? What's that got to do with making it cross platform?

I could ask what makes food hot and you would come in here telling me your refrigerator brand uses less electricity.

[-] Olgratin_Magmatoe@lemmy.world 1 points 8 months ago* (last edited 8 months ago)

I wasn't strictly talking about cross platform. I was talking about performance, which is tangential to the cross platform thing.

If you're planning on making a game cross platform, you should choose a language that performs well for gaming on all platforms. Java ain't that. Which answers your question:

In what world is c++ better for cross platform than Java?

C++ is better for this application.

[-] supersquirrel@sopuli.xyz 9 points 8 months ago

Good thing we have Minetest and Vintage Story!

this post was submitted on 01 Apr 2024
669 points (96.1% liked)

Gaming

20177 readers
105 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS