Newbie initial comments on D language - RTTI and run-time reflection

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jan 29 20:35:46 PST 2008


"Edward Diener" <eddielee_no_spam_here at tropicsoft.com> wrote in message 
news:fnoq19$fim$1 at digitalmars.com...

> Then it has knowledge the internal structure of a module via some 
> facility. Is this facility based on some library which gives this 
> knowledge ? Is the internal module structure rich enough to allow all of 
> the necessary information about types and their sub-components ?

I think it basically just uses debug symbols (on Windows anyway, on Linux I 
think there are more robust symbol tables), which encode the fully-qualified 
name of symbols to find symbols in modules.  That is, it's basically just 
doing string processing on symbol names. 





More information about the Digitalmars-d mailing list