On 1/13/12 10:03 PM, Walter Bright wrote:
On 1/13/2012 7:03 PM, Andrei Alexandrescu wrote:
How is that possibly different from what you have now?

Intrinsic functions are today just a table lookup in the compiler.

They're a table lookup if the operation is a compile-time constant. So this argument does not apply.

Template intrinsics currently do not exist, so more code needs to be
written for them.

The same table lookup could be done, except in this case it would be more principled.


Andrei

Reply via email to