On Tuesday, 7 April 2015 at 22:30:17 UTC, Andrei Alexandrescu wrote:
On 4/7/15 3:29 PM, Adam D. Ruppe wrote:
On Tuesday, 7 April 2015 at 22:22:35 UTC, Andrei Alexandrescu wrote:
On 4/7/15 11:42 AM, Martin Nowak wrote:
What's still missing is a faster AST interpreter for CTFE though.

A JIT would be nice. -- Andrei

I'm not so sure CTFE would ever get out of the warmup debt JITs incur,
ctfe bits usually don't live very long.

A JIT would pay off where it matters - intensive use of CTFE leading to long compilations. -- Andrei

I can talk from first hand experience here, as SDC uses ONLY JIT for CTFE.

It turns out that it is slower in the general case where you some small computation, but way faster as soon as you run something non trivial.

I don't think it would be a good move to integrate it as this, but coupled with some heuristic, it would be great.

Reply via email to