logoalt Hacker News

dismalaflast Sunday at 1:53 PM2 repliesview on HN

SDL is more of a "platform" you can use anywhere. It includes literally everything you'd want from the OS layer (windowing, graphics, audio, input, network code, threads) whereas GLFW is just windowing, graphics context and input, you need to bring your own audio, network code and threading library. Not a big deal for some but SDL does do more... Plus it's even more portable than GLFW.


Replies

mort96last Sunday at 1:58 PM

I'm aware of those things, but are those the reasons? Are they actually planning on moving away from their existing audio, networking and threading solutions and switch it out for SDL's implementations? Are they planning on porting Minecraft Java to platforms GLFW doesn't support?

show 1 reply
chlorionyesterday at 3:00 PM

SDL3 also includes a "GPU API", that allows low level programming of the GPU, similar to vulkan, though not quite as low level.