Adding Reflection to C
telotortium
13 points
4 comments
May 28, 2026
Related Discussions
Found 5 related stories in 76.0ms across 8,861 title embeddings via pgvector HNSW
- C++26: Reflection, Memory Safety, Contracts, and a New Async Model birdculture · 34 pts · April 19, 2026 · 49% similar
- Cost of enum-to-string: C++26 reflection vs. the old ways sagacity · 81 pts · May 13, 2026 · 44% similar
- C extensions, portability, and alternative compilers xngbuilds · 149 pts · May 25, 2026 · 44% similar
- The Little Book of C ghostrss · 65 pts · March 26, 2026 · 42% similar
- Why does C have the best file API maurycyz · 95 pts · March 01, 2026 · 41% similar
Discussion Highlights (4 comments)
tliltocatl
Been there… Pendantic nitpick: it's more akin to introspection, reflection would be self-modifying code.
uecker
Here is my proposal with a lot of similarities: https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3212.pdf
cozzyd
BTF or DWARF info in principle contain the information needed, though working with them is cumbersome...
teo_zero
Nice. But you've just invented Zig!