Adding Reflection to C
telotortium
13 points
4 comments
May 28, 2026
Related Discussions
Found 5 related stories in 292.8ms across 14,015 title embeddings via pgvector HNSW
- Show HN: Beautiful Type Erasure with C++26 Reflection RyanJK5 · 112 pts · July 14, 2026 · 51% similar
- 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
- C programmers commit fresh crimes against readability jjgreen · 13 pts · July 05, 2026 · 44% 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!