r/C_Programming • u/digitalradiostudio • Sep 25 '26
Question Starting again C
Hi i want try to make a extreme lightweight pixelgame ( i don't have really details about the game :) ) with glfw and and opengl to go back to c. Does anyone have tips to make it lightweight ?
22
Upvotes
View all comments
Show parent comment
5
u/ffd9k Sep 25 '26
raylib also contains a vendored copy of GLFW.
GLFW is already as lightweight as it gets, apart from calling platform-specific APIs (Windows API, X11 etc) directly - GLFW is just a tiny portable wrapper around those.
SDL is a bit heavier, but of course might still be a good option if OP needs the additional features (like audio, image loading, 2D rendering, filesystem abstraction...)