CTFE Status 2
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 26 20:51:29 PDT 2017
On Thursday, 27 April 2017 at 03:33:03 UTC, H. S. Teoh wrote:
>
> Is it possible at all to use any of the backend (in particular
> what parts of the optimizer that are pertinent), or is the API
> not conducive for this?
>
>
> T
It is of course possible to use dmds backend but not very
desirable, dmds backend works on an expression-tree, which would
be expensive to build from the linear IR newCTFE uses.
Dmds backend is also very hard to debug for anyone who is not
Walter.
CTFE is the common case will be fastest if executed without any
optimizer interfering.
modern x86 chips done a very fine job indeed executing crappy
code fast.
Therefore making it possible to get away with very simple and
fast codegen.
(Where fast means code-generation speed rather then code
execution speed).
More information about the Digitalmars-d
mailing list