Implementation of a component-based entity system in modern C++

October 10, 2015 in C++, Programming, Programming Languages, Source Code, Tips & Tricks by admin

c++An alternative to deep inheritance trees for game and application architecture design is “composition”. Separating data (in independent components) from logic (in independent systems) allows the code to be more reusable and more efficient, alongside additional benefits. Using modern C++11 and C++14 features, it is possible to design an efficient and user-friendly component-based entity system library, with intuitive syntax and convenient cost-free abstractions.