Introduction
Hey all! Lately, I've been experimenting with C++26 static reflection features using Bloomberg's clang-p2996 compiler fork. I've tried a few different ideas, but this project has definitely been the most exciting for me. The goal was to build an ECS framework that completely eliminates boilerplate setup, such as manual component registration and system scheduling.
Project Development
After a few iterations and millions of demonic consteval errors, I've finally gotten it to a state where I feel like I can share it with the public. Here is RECS (Reflected Entity Component System): RECS GitHub.
Experimental Nature
Since this relies heavily on P2996, it's highly experimental, but it’s been a really nice exercise in pushing meta programming to its limits. I would love to hear your thoughts on the RECS or any general feedback on the code.
Blogger's Review: This project showcases the powerful potential of C++26 static reflection, particularly in simplifying the development process of ECS frameworks. By eliminating cumbersome manual configurations, developers can focus on implementing system logic, boosting productivity. However, due to its experimental nature, caution is advised, and ongoing attention to related standardization progress is essential.