Another way to do CTFE

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 17 13:23:35 PDT 2014


On 6/17/2014 3:55 PM, Dicebot wrote:
> Heh: http://forum.dlang.org/post/lnhtiq$qqn$1@digitalmars.com

Yea, Nemerle's approach addresses that, although it comes with other 
tradeoffs. In Nemerle, you compile your macros to a dll, then you pass 
that dll to the compiler when compiling any code that uses the macros.

It has various pros/cons versus D's approach, but I think it's at least 
something worth being aware of.



More information about the Digitalmars-d mailing list