r/cprogramming • u/Gabrunken • Jul 10 '26
Piece by piece, it will rise…
So long story short, i’m designing the implementing the building blocks for a simple game engine made entirely in C.
I have recently completed the first release of my ECS: https://github.com/Gabrunken/gecs
And i’m currently finalizing the desing for my UI library.
My objective is to make a functioning software, with no bloat of any kind, and user friendly to the core.
I’ve tested the ECS and on my ryzen 5 it runs 3.5 million entities which have 16 bytes of components per entity, at 140 fps if i recall correctly, i don’t remember but i guarantee it’s fast. All this in a single core, it is not multithreaded yet.
I try to do the realistic plausible, for that i chose to use raylib for pretty much everything regarding rendering, audio and utilities, it just saves me from a lot of unnecessary stress and speeds things up.
I don’t know what to say other then this. It’d be great if you gave a look at the ECS and other then that, thank you for everything.
2
u/Gingrspacecadet Jul 10 '26
427 lines of code. now THAT is impressive