Re:Perfecting GLFW for Zig, and finding lurking undefined be...
by hsn915 on Sunday October 31, 2021 @05:21PM
(#29060563)
glfw is very widely known because it's usually one of the recommended libraries to use when starting out graphics programming. It basically a cross platform library to create a window and initialize an opengl context .. or something like that. (It's been _many_ years since I last used it).
[ Parent
| on HN ]
Re:Perfecting GLFW for Zig, and finding lurking undefined be...
by iamcreasy on Sunday October 31, 2021 @05:30PM
(#29060643)
Is it safe to say that SDL is a strict superset of GLFW?
Re:Perfecting GLFW for Zig, and finding lurking undefined be...
by slimsag on Sunday October 31, 2021 @06:08PM
(#29060920)
I think that is a reasonable statement. SDL includes other functionality like image loading, audio, etc. whereas GLFW is primarily focused just with getting a window with a graphics context for OpenGL/Vulkan/etc set up.
Re:Perfecting GLFW for Zig, and finding lurking undefined be...
by cyber_kinetist on Monday November 01, 2021 @12:18AM
(#29062956)
SDL’s advantage is that it supports more platforms (like mobile and Switch), and is much more battle-tested with hundreds of games using it, including Valve’s ones. Many people seem to use SDL for only windowing and input and seem okay with it.