Additional Binary Operators

Don turnyourkidsintocash at nospam.com
Tue Mar 5 02:38:25 PST 2013


On Monday, 4 March 2013 at 23:29:09 UTC, Araq wrote:
> On Monday, 4 March 2013 at 21:58:34 UTC, Marco Leise wrote:
>> 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.
>
> It's slightly amusing you keep re-inventing Nimrod, albeit 
> poorly:
>
> http://build.nimrod-code.org/docs/manual.html#term-rewriting-macros

My talk on this topic in the first D conference was in 2007. It 
seems Nimrod only dates from 2009. There's nothing new here.





More information about the Digitalmars-d mailing list