Compiling to Heap for CTFE

Gregor Richards Richards at codu.org
Mon Dec 17 23:48:09 PST 2007


Craig Black wrote:
> Currently, CTFE only supports a subset of the language, and it relies on 
> the compiler acting as an interpreter, which is slow.  It just occured 
> to me that if we could compile code to the heap, there would be no need 
> for a CTFE interpreter.  CTFE code could be compiled to the heap and 
> executed at full speed.  Further, all the features of D would be 
> available at compile time.
> 
> Thoughts?
> 
> -Craig

  == death to cross-compilation.

  - Gregor Richards

PS: Well, not necessarily, but it certainly would make things difficult.



More information about the Digitalmars-d mailing list