Live data from Hacker News

Minecraft: Java Edition now uses SDL3

minecraft.net

81–90 of 285 posts

Re: Minecraft: Java Edition now uses SDL3

#81
post #20

Is the rationale for switching away from GLFW documented anywhere? I'd love to read about it, I have some projects which use GLFW myself and I'm always wondering whether or not SDL would be better

> I'm always wondering whether or not SDL would be better SDL supports mobile; GLFW doesn't. Maybe they're unifying codebases between the platforms. Edit: BTW SDL3 still works even on Android 4.2. I made an app using it and ImGui, without any Java.

Your suspicion is that they're going to discontinue Bedrock and replace the iOS and Android versions with Java? Even though iOS doesn't even allow Java with JIT?

Re: Minecraft: Java Edition now uses SDL3

#83
post #63

Earlier quoted context omitted.

In case you missed it, the question was: > Is the rationale for switching away from GLFW documented anywhere? "Not that I know" is a perfectly good answer. Don't spew ChatGPT slop at me.

You're pleasant. Should I have just said no, RTFA? Which clearly doesn't state why. That better? Or say you can search yourself? As for ChatGPT slop, I've never used that particular LLM, but some are good for bypassing ads/SEO slop while searching the internet.

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.

Re: Minecraft: Java Edition now uses SDL3

#84
post #2

> Known Issues > Exclusive fullscreen mode on Windows may cause the game to crash in certain situations, especially when using multiple monitors > Entering Exclusive fullscreen mode crashes the game on Wayland Those, together, kinda seem like the kind of blocking bug that would usually delay a snapshot... Lets hoping it gets fixed before release lands...

> delay a snapshot

The point of a snapshot is that it's a snapshot of current main, bugs and all, even release-blocking bugs.

In my head, the order of stability expectations are (noting that minecraft doesn't do most of these levels, nor do most projects):

1. Long-term support / extended support release

2. Release

3. Release candidate

4. Beta

5. Alpha

6. Snapshot

7. Just-merged master commit

8. Unmerged pull request from a developer on the project

9. Unmerged draft pull request from a developer on the project

10. Unmerged pull request from a stranger

11. .patch file for the source code hosted on pastebin and linked by a total stranger on a cryptocurrency related discord server

12. GitHub's servers

I would expect a fairly major bug to delay a release candidate or beta.

I would expect an absolutely critical bug to prevent merge.

I would not expect any bug which passes the CI tests and gets merged to delay a snapshot, since snapshots are just effectively a scheduled cronjob of "at this date, we cut a release of current main so people can play with it and give feedback if they want without having to figure out how to compile main themselves"

Re: Minecraft: Java Edition now uses SDL3

#85
post #78
post #38

Earlier quoted context omitted.

SDL2 and SDL3 both have hardware accelerated 2D renderers, appropriately called SDL_Renderer. You can tell SDL to upload pixel buffers to GPU textures and tell SDL to draw those textures on the screen with various transformations and color effects. SDL3 added a way to tell SDL to render vertex-based geometry as well: https://wiki.libsdl.org/SDL3/SDL_RenderGeometry . Those vertexes can have 3D positions, so that count…

SDL_RenderGeometry(Raw) are only capable of 2D rendering and the vertexes do not even have a z-coordinate. Genuine 3D support is available in SDL3 via the GPU types and functions: https://wiki.libsdl.org/SDL3/CategoryGPU

Oh, I stand corrected. Thanks!

Re: Minecraft: Java Edition now uses SDL3

#86

Earlier quoted context omitted.

You're pleasant. Should I have just said no, RTFA? Which clearly doesn't state why. That better? Or say you can search yourself? As for ChatGPT slop, I've never used that particular LLM, but some are good for bypassing ads/SEO slop while searching the internet.

If he wanted AI slop, I'm sure he's capable of asking an AI himself. He asked a forum full of people because he wants a real answer from a knowledgeable person. If you didn't have anything to contribute, you could have just left it for someone else to reply.

Well, I've used both GLFW and SDL and can say SDL is more robust, covers more edge cases, etc... And he specified he only wanted an answer from someone in the know, so probably no one here anyway.

Also it's weird complaining about slop when HN is 99% slop, and has been for a long time. It was only interesting from 2008-2016 or so.

Re: Minecraft: Java Edition now uses SDL3

#87

Anyone got any advice for a techy dad with no (zero) Minecraft experience who wants to set up a Minecraft server for the family in 2026? Kids right now are playing on their iPads, and (sometimes) old macbooks/windows PCs.

I'm surprised no one mentioned https://github.com/pumpkin-mc/pumpkin in this thread. It's the fastest Minecraft server implementation and it's written in Rust.

Re: Minecraft: Java Edition now uses SDL3

#88

Anyone got any advice for a techy dad with no (zero) Minecraft experience who wants to set up a Minecraft server for the family in 2026? Kids right now are playing on their iPads, and (sometimes) old macbooks/windows PCs.

Just buy a Realm subscription from Mojang.

I ran a private server for my kids for a while and it was a huge headache. Bedrock is purposely made to not make it easy to DIY. It was difficult for their friends to join, everyone was mad when it was down when they wanted to play, and I had to take great care to not lose their progress.

Paying for a Realm doesn't scratch that DIY itch, but your kids will actually get to enjoy playing, which is really the point, isn't it?

Alternately, run a Java server and use the Java-to-Bedrock plugin / proxy / adapter.

Re: Minecraft: Java Edition now uses SDL3

#89
post #81

Earlier quoted context omitted.

> I'm always wondering whether or not SDL would be better SDL supports mobile; GLFW doesn't. Maybe they're unifying codebases between the platforms. Edit: BTW SDL3 still works even on Android 4.2. I made an app using it and ImGui, without any Java.

Your suspicion is that they're going to discontinue Bedrock and replace the iOS and Android versions with Java? Even though iOS doesn't even allow Java with JIT?

Dunno. Apple makes exceptions for big companies and might do so for something as big as Minecraft. Also, SDL3 supports far more platforms https://wiki.libsdl.org/SDL3/README-platforms Now they can release a Java edition even for PlayStation and Xbox. At least porting to SDL3 opens the door to consoles and mobiles if they want to do so.

Re: Minecraft: Java Edition now uses SDL3

#90

Anyone got any advice for a techy dad with no (zero) Minecraft experience who wants to set up a Minecraft server for the family in 2026? Kids right now are playing on their iPads, and (sometimes) old macbooks/windows PCs.

i did this and it’s so worth it.

just get everyone on java. i play on my framework laptop, my wife on her mac and my son on a steam deck.

Post reply on HN