Live data from Hacker News

Minecraft: Java Edition now uses SDL3

minecraft.net

171–180 of 285 posts

Re: Minecraft: Java Edition now uses SDL3

#171

Earlier quoted context omitted.

I’m delighted to get to introduce you to ComputerCraft: Tweaked (modern fork). https://tweaked.cc/ Email client and server in Lua https://github.com/GabrielleAkers/cc-email The whole project is a great way to get started with understanding computers, programming, and networking in an environment that appeals to the iPad generation- one that knows less about technology than its predecessors. It’s about making computer…

Oh hey, I did a lot of ComputerCraft back in the day. Don't forget OpenComputers, which was much different flavor of challenge but also quite interesting.

OpenComputers II is even crazier as it uses a RISC-V emulator to run a real Linux image.

Re: Minecraft: Java Edition now uses SDL3

#172
post #158
post #28

Earlier quoted context omitted.

Minecraft comes in two flavors, Java and Bedrock. All of the mobile, console ports, and windows store versions are based on bedrock. Java is the one you download directly from the website. Bedrock isn't really about custom hosted servers, but there is a way. You can run a standard Java Minecraft server however you like, and then you can wrap it to also work with the Bedrock using Gyser[1] which will protocol translat…

Apologies for hijacking an advice thread, but I'm another dad who's had to deal with this incompatibility nightmare, and I really really want to know what the hell happened within Microsoft & Mojang to end up with this mess. No, seriously, I'm fascinated by the story. It's been over ten years . I'm happy to assume that most of the people involved are smart and good with decent intentions. I also bet there were many k…

Consoles hate having a jit vm so java is a non-starter for them.

The real reason is you want to run your game on the latest greatest WiiStation(tm). if it is written in C/C++ you sit down with a copy of their development library and change your code to fit. If it is written in java you port the jvm to the device. And I don't really know how hard that is(having never ported the jvm) but most people sort of balk at that step.

Microsoft thought it was easier/better to rewrite minecraft in C++ than port the jvm to the xbox. There was a big enough customer base attached to the original java version they did not want to discard it(backlash would be too huge and messy).

Re: Minecraft: Java Edition now uses SDL3

#173
post #48
post #9

Earlier quoted context omitted.

in this same release Minecraft removed exclusive fullscreen on MacOS, i wonder why they haven't done the same on Windows & Linux - maybe people still have uses for that stuff on those operating systems? in my experience exclusive fullscreen is Awful on MacOS

Does macOS even have exclusive fullscreen anymore? I haven’t looked into it, but my impression is that it fakes it with borderless windowed even when the app explicitly asks for it.

Yes. On Apple Silicon Macs (w/ macOS Sonoma or later), native fullscreen automatically triggers Game Mode. This feature slashes input lag by prioritizing CPU/GPU resources and doubling the Bluetooth polling rate to 240 Hz for wireless accessories. Gaming works very well in this mode, even with PC titles played thru crossover.

Conversely, using borderless windowed mode instead of native fullscreen on macOS adds rendering latency due to the Desktop Window Manager (DWM) compositor. The latter is 'doing it wrong' and has the lag people don't like.

Re: Minecraft: Java Edition now uses SDL3

#175
post #158
post #28

Earlier quoted context omitted.

Minecraft comes in two flavors, Java and Bedrock. All of the mobile, console ports, and windows store versions are based on bedrock. Java is the one you download directly from the website. Bedrock isn't really about custom hosted servers, but there is a way. You can run a standard Java Minecraft server however you like, and then you can wrap it to also work with the Bedrock using Gyser[1] which will protocol translat…

Apologies for hijacking an advice thread, but I'm another dad who's had to deal with this incompatibility nightmare, and I really really want to know what the hell happened within Microsoft & Mojang to end up with this mess. No, seriously, I'm fascinated by the story. It's been over ten years . I'm happy to assume that most of the people involved are smart and good with decent intentions. I also bet there were many k…

Bedrock has much better performance so it was used for consoles, but there were already hundreds of thousands of mods for Java edition, thus the split.

Re: Minecraft: Java Edition now uses SDL3

#176

Earlier quoted context omitted.

Geyser sounds very interesting especially if you know some or all players wouldn't be willing or perhaps able to play Java Minecraft and so they have to run Bedrock, but some would play Java and they'd enjoy being together. Java Minecraft is just a better toy, I'm not altogether sure it's a better game, depending on how you define game, but it's a better toy because it's so flexible. I assume Geyser can't magically d…

Aside from being more flexible they are mostly the same game. The original excuse for bedrock was that Java was slow and a native game would render much better, it was also easier to put shaders in a a native codebase. But Java edition is pretty performant nowadays and computers also got much more stronger than the game became heavier

Java edition still horribly underperforms. It’s mostly single-threaded and even if they’ve rewritten the lighting engine a few times (those decade old black-block bugs disappeared), the Sodium family of mods show you how much it can be improved.

Re: Minecraft: Java Edition now uses SDL3

#177
post #83

Earlier quoted context omitted.

I did read the article. As you say, it doesn't state why. That's why I asked if they had written about it elsewhere. You don't have to answer questions you don't know the answer to. Answering with incorrect LLM slop is bad form.

So am I wrong? I pulled up pages of various people reporting GLFW bugs in Minecraft Java edition.

Yes, you are. Because those are not actual stated reasons from the developer.

Re: Minecraft: Java Edition now uses SDL3

#178
post #172
post #158

Earlier quoted context omitted.

Apologies for hijacking an advice thread, but I'm another dad who's had to deal with this incompatibility nightmare, and I really really want to know what the hell happened within Microsoft & Mojang to end up with this mess. No, seriously, I'm fascinated by the story. It's been over ten years . I'm happy to assume that most of the people involved are smart and good with decent intentions. I also bet there were many k…

Consoles hate having a jit vm so java is a non-starter for them. The real reason is you want to run your game on the latest greatest WiiStation(tm). if it is written in C/C++ you sit down with a copy of their development library and change your code to fit. If it is written in java you port the jvm to the device. And I don't really know how hard that is(having never ported the jvm) but most people sort of balk at tha…

In Microsoft's defense at the time the java code base had a ton of technical debt and overtime they've essentially done a full rewrite of everything.

That said, I'm convinced that 90% of the reason that the current mess exists is because Microsoft was convinced that most users would be migrating from Java to bedrock. And they probably would have (modding and other things aside), had the Microsoft team not decided to "fix" many aspects of redstone.

Since then there's been the constant issue of parity between the two versions, which will likely never be achieved. And 90% of the time it's because the Microsoft developers working on bedrock edition decide they know better than mojang does, so they can implement a feature in a different way, or just implement a new feature entirely.

Ugh it's a mess, and I've spent way too long thinking about it.

Re: Minecraft: Java Edition now uses SDL3

#179
post #158

Earlier quoted context omitted.

Apologies for hijacking an advice thread, but I'm another dad who's had to deal with this incompatibility nightmare, and I really really want to know what the hell happened within Microsoft & Mojang to end up with this mess. No, seriously, I'm fascinated by the story. It's been over ten years . I'm happy to assume that most of the people involved are smart and good with decent intentions. I also bet there were many k…

Bedrock has much better performance so it was used for consoles, but there were already hundreds of thousands of mods for Java edition, thus the split.

Bedrock does have better performance but it is also hella buggy and unstable.

Re: Minecraft: Java Edition now uses SDL3

#180
post #69

Earlier quoted context omitted.

It did used to be required. Older Java versions performed pretty terrible. However, Java 17+ completely fixed that. Even the heaviest modded setups run buttery smooth, even on older versions which are not well optimized.

It was more like Minecraft code was horrible, than anything else. Creating objects like crazy, range for in hot paths, not caring about data representation, chosen algorithms,.... JIT and GC were already doing heroic efforts. Yet, it settled Notch for life, which is something to take into account in the usual question regarding which technical stack for games.

Yeah at the time it was bad. Now, it's a pretty nice codebase
Post reply on HN