On Wednesday, 1 January 2014 at 22:44:31 UTC, David Nadlinger
wrote:
On Wednesday, 1 January 2014 at 10:27:48 UTC, Ola Fosheim
Grøstad wrote:
Why doesn't D support some kind of partial evaluation instead?
With llvm you get to JIT for free, seems to be an overall
simpler solution than having an interpreter in the compiler
(or equally complex, but more powerful)
Not really. You'd probably still need a powerful constant
folder/interpreter to avoid firing up the LLVM JIT for every
single trivial CTFE invocation.
David
That is still what SDC does :D