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
0
u/bktech2021 Sep 25 '26
we should know why the game has to be “extremely lightweight”. is this a embedded platform, or just a self goal? i dont think raylib adds real overhead to glfw. but i think setting up windows, shaders, etc. is more unnecesary work. and as you said you need audio input image loading filesystem and bunch of things and maybe make them cross platform. if this just a self goal or embedded platform, thats another story but you cant get more lightweight by stripping raylib and using glfw, audio, image etc. you are going to rewrite raylib at the end for no reason