Meta-Programming

Craig Black cblack at ara.com
Fri May 25 10:06:37 PDT 2007


No, a VM is not a requirement for introspection.  Walter should be adding 
better reflection/introspection in the coming months.

-Craig

"Mahe" <maheweb at web.de> wrote in message 
news:f36u6e$168a$1 at digitalmars.com...
> Hi,
>
> I have worked with D for some months. It is much better than C++ and a 
> good alternative to Java or C#.
>
> But I think a really powerful aspect is missing in D compared to Java/C#: 
> Meta-Programming!
> In D it is only possible to create a class with a standard constructor 
> from a string with a class name in it. But there is no introspection of 
> the structure of the class, no dynamic method calls, no dynamic attribute 
> reading or setting.
> But such reflection possibilities are important in component based 
> software design of large systems.
>
> Also some notation of extra metadata to classes, fields and methods would 
> be good, like Java-Annotations. This would also be a powerful feature.
>
> I don't know if for such features a VM is necessary!
>
> Bye!
> 





More information about the Digitalmars-d mailing list