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" <[email protected]>:

+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.



Reply via email to