Additional Binary Operators

Marco Leise Marco.Leise at gmx.de
Mon Mar 4 13:58:08 PST 2013


Am Fri, 1 Mar 2013 16:36:07 -0800
schrieb "H. S. Teoh" <hsteoh at quickfur.ath.cx>:

> +1. With D's compile-time capabilities, DSLs give you arbitrarily
> complex custom syntax at essentially zero runtime cost. You can even
> implement compile-time DSL optimizers that produce optimized code like
> no overloaded operator ever can.
> 
> 
> T

Oh my fucking god. That means you can generate complex
matrix-vector interactions "on the spot" without ever using
temporary matrices or vectors and the inevitable cost of
leaving the FPU and rounding to float! That's brilliant.

-- 
Marco



More information about the Digitalmars-d mailing list