Why I'm Excited about D

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 18:48:58 PDT 2015


On 4/7/2015 6:30 PM, Andrei Alexandrescu wrote:
> Classical interpretation via tree walking does not use a bytecode. -- Andrei

And this is proven to work by CTFE. (CTFE walks the AST.)

Note that walking the AST, instead of generating bytecode, is not at all why 
CTFE is slow. CTFE is slow because it allocates memory for every step in the 
computation.


More information about the Digitalmars-d mailing list