Compiler patch for runtime reflection

Timon Gehr timon.gehr at gmx.ch
Tue Oct 25 03:58:59 PDT 2011


On 10/25/2011 11:24 AM, Gor Gyolchanyan wrote:
> I said it once, but nobody responded.
>
> Why not generate full reflection for everything by default and add an
> attribute line @noreflect as an _optimization_ tool in cases, where
> this thing is definitely not gonna be used in reflection?

As I see it, because you almost never need 'full reflection for 
everything', and idiomatic D code is not supposed to contain clutter 
like that.


More information about the Digitalmars-d mailing list