Quick Ecs And Ipc

An Entity Component System (ECS) in C23 can generate incredibly optimized SIMD instructions on Struct of Arrays (SOA) entities while emphasizing maintenance with this X-Macro approach: #define ent_d(exec) \ exec(float, x) \ exec(float, y) \ exec(float, z) \ exec(float, vx) \ exec(float, vy) \ exec(float, vz) constexpr auto g_ents_cap = 8192; struct { #define exec(type, field) type…