Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
OGL - A Great Cross Platform OpenGL Base Library With Almost Everything OpenGL You might Ever need
17 projects | reddit.com/r/opengl | 12 Jan 2022
LearnOpenGL.com setup for Linux
1 project | reddit.com/r/u_Rapid_Movies | 9 Jan 2022
Clone the GLFW git repository, using git clonehttps://github.com/glfw/glfw.git.
How to use OpenGL without an IDE (linking libraries)
1 project | reddit.com/r/opengl | 12 Dec 2021
Go to https://www.glfw.org/
How to make your own game engine (and why)
1 project | reddit.com/r/gamedev | 12 Nov 2021
SDL is great, yes. I just want to mention that glfw is also an option if you're using OpenGL or Vulkan. I used it this time around because I had used SDL in the past for another engine and had the desire to use something different for no other reason than exposure. Things aren't very different and I don't think switching from one to another would be hard. It depends on implementation of course, as always.
Perfecting GLFW for Zig, and finding lurking undefined behavior that went unnot
Agreed. I think it was only a problem because of ubsan. I guess ubsan added checks to the generated code that looked at the value being shifted left 24 and saw that overflow occurred and therefore raised its undefined behaviour signal.
The code would never fail on a two's compliment machine. What ubsan is saying is that the rules of C don't guarantee this code to work - it only works because the overflow writes into the sign bit, which is where the next thing expected it to be anyway.
If the above is true, I don't think their "fix" helps: https://github.com/glfw/glfw/pull/1986/files. I would have thought that the important part is to change the longs to unsigned longs.
It's not actually shifting a char, because integer promotion happens first.
The (not yet merged) PR https://github.com/glfw/glfw/pull/1986 casts to signed long, which only avoids UB (is 64 bits) on 64-bit platforms which aren't Windows.
> Wouldn't it be better to cast to unsigned int or something similar (like uint32_t), since long can still be 32 bits? If the size of long and int is the same, wouldn't the cast as proposed in the PR be semantically identical to the current state?
[Handmade Network] How to write better (game) libraries
2 projects | reddit.com/r/C_Programming | 13 Sep 2021
Even if someone wants to use VS2008 for game development, it only took me a Google search to find https://github.com/glfw/glfw/blob/master/deps/vs2008/stdint.h which doesn't have any dependencies and a very permissive licence.
how do i include glfw in my code to make a window?
1 project | reddit.com/r/vscode | 31 Aug 2021
LibOS – Cross-platform OS features in C++
3 projects | reddit.com/r/cpp | 23 Aug 2021
You seem to have had a similar impetus as I had 20 years ago when I created GLFW (though with a slightly different focus).
What are some alternatives?
SDL - Simple Directmedia Layer
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
Open4Es-Shader-Android - This is a shader can running on Minecraft Java Edition For Phone project which uses GL4ES
OpenSceneGraph - OpenSceneGraph git repository
Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)
Open-Source Vulkan C++ API - Open-Source Vulkan C++ API
magnum - Lightweight and modular C++11 graphics middleware for games and data visualization
raylib - A simple and easy-to-use library to enjoy videogames programming
glbinding - A C++ binding for the OpenGL API, generated using the gl.xml specification.
Allegro - The official Allegro 5 git repository. Pull requests welcome!