D interpreter

Robert Fraser fraserofthenight at gmail.com
Wed Oct 24 18:02:26 PDT 2007


Bruce Adams Wrote:
> Gregor Richards Wrote:
> > The CTFE interpreter is extremely limited (and slow).
>
> Maybe it should use a VM? :)

That sounds like a lot of work & overhead for what basically ammounts to constant folding. Remember, CTFE is a compile-time optimization, not a way to execute the program.

That said, CTFE with a GC and heap-allocation support would be nice, since my code uses a lot of objects.



More information about the Digitalmars-d mailing list