Battle-plan for CTFE

David Nadlinger via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Sep 1 12:09:10 PDT 2016


On Thursday, 1 September 2016 at 16:43:53 UTC, Rory McGuire wrote:
> is that in one of the "semantic" passes the compiler has?

For reference, I've laid out the reasons why this proposal 
couldn't work to Stefan here: 
https://github.com/dlang/dmd/pull/6098#issuecomment-243375543

The real reason is not so much in the pass structure of the 
compiler as in the fact that CTFE by definition executes the same 
function body that is also emitted to the runtime binary.

  — David


More information about the Digitalmars-d-announce mailing list