by osmala · 10y ago · 0 comments
Yes. I know some libraries add "reflection" but its not good enough. It needs to be baked in language and not require additional syntax on classes to be used as data for your own reflective code.
It would also require additional overhead for RTTI information per object, if you want it to work using arbitrary void *.
It'd br great to have reflection of course. At least so some subset, non-generic but with zero (or low) overhead.
Just being able to iterate known type struct or class fields could be something.