Compilation strategy

Walter Bright newshound2 at digitalmars.com
Tue Dec 18 07:01:28 PST 2012


On 12/18/2012 1:43 AM, Dmitry Olshansky wrote:
> Compared to doing computations on AST tries (and looking up every name in symbol
> table?), creating fake nodes when the result is computed etc?

CTFE does not look up every (or any) name in the symbol table. I don't see any 
advantage to interpreting bytecode over interpreting ASTs. In fact, all the Java 
bytecode is is a serialized AST.



More information about the Digitalmars-d mailing list