Compiling to Heap for CTFE

Craig Black craigblack2 at cox.net
Mon Dec 17 18:27:06 PST 2007


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 




More information about the Digitalmars-d mailing list