[cfe-dev] Reflection

Russell Harmon russ at eatnumber1.com
Tue Dec 14 11:44:14 PST 2010


On Dec 14, 2010, at 14:10, David Chisnall <csdavec at swan.ac.uk> wrote:

> On 14 Dec 2010, at 15:27, Russell Harmon wrote:
>
>> I didn't really think it mattered since C++ is (mostly) just a
>> superset of C, but I had actually intended to do this for C, not C++.
>
>
> From an Objective-C perspective, it would be very interesting if C structures and functions could have their types registered with the runtime.  This would probably add a lot of overhead for types - unlike Objective-C classes, they don't have a single location with an authoritative definition, but for functions it would be relatively cheap.
What? The struct definition doesn't provide an authoritative definition?




More information about the cfe-dev mailing list