Can D be Interpreted?

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Mon Jan 6 07:20:31 PST 2014


On Monday, 6 January 2014 at 14:58:58 UTC, deadalnix wrote:
> Also JITing for trivial thing that could be constant folded is 
> much slower.

You don't need a powerful interpreter to fold trivial things 
(+-*/?:). If it is a separate pass there is no reason for not 
being able to building a dependency graph and use a JIT on 
multiple expressions. It sounds trivial to me, if it isn't simple 
in the DMD front-end then it is a structural issue.


More information about the Digitalmars-d mailing list