Can D be Interpreted?

deadalnix deadalnix at gmail.com
Sun Jan 5 16:24:00 PST 2014


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


More information about the Digitalmars-d mailing list