Compiling to Heap for CTFE

bearophile bearophileHUGS at lycos.com
Tue Dec 18 02:08:28 PST 2007


Craig:
> It just occured
> to me that if we could compile code to the heap, there would be no need  
> for a CTFE interpreter.

This is the "Staged compilers" or "Multi-stage Programming (MSP)":
http://www.cs.rice.edu/~taha/MSP/
http://okmij.org/ftp/Computation/staging/metafx.pdf
They are studying on it for lot of time.

Bye,
bearophile



More information about the Digitalmars-d mailing list