Re: [Algorithms] Complexity of new hardware
Brought to you by:
vexxed72
|
From: Alen L. <ale...@cr...> - 2009-04-17 19:42:55
|
Friday, April 17, 2009, 9:48:32 AM, Jarkko wrote: > I don't think you would even want to parse the compiler generated data for > introspection because it wouldn't provide enough necessary metadata > information for the purpose. IME, parsing the headers can get you a long way and alows you to easly add additional info to members in-place. Handling all the cornercases of C++ would be hard, but we don't want to use those anyway, so that is not a problem. > From my experience you need e.g. different level of constness > altogether and other custom variable properties for introspection > purposes which the language doesn't provide. Haven't needed different constness yet, what do you mean by that? We use flags for object ownership on pointers (in contrast to just linking), barriers to define deep copy limits, versioning info for serialization, hints for GUI for loading/streaming and a bunch of others. Cheers, Alen |