Can D be Interpreted?

David Nadlinger code at klickverbot.at
Wed Jan 1 14:44:29 PST 2014


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


More information about the Digitalmars-d mailing list