Program size, linking matter, and static this()

Jacob Carlborg doob at me.com
Fri Dec 16 13:04:05 PST 2011


On 2011-12-16 21:49, Andrei Alexandrescu wrote:
> On 12/16/11 2:47 PM, Jacob Carlborg wrote:
>> I don't think it's completely separate. Can the compiler know if runtime
>> reflection is used or not?
>
> Yes. Reflection is used if reflection primitive functions are called.
>
> Andrei

Yeah, but how does the compiler know which are primitive functions, hard 
code them in the compiler? Or perhaps the compiler already need to know 
this.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list