On Thu, Feb 14, 2019 at 10:15:19PM +0000, Guillaume Piolat via Digitalmars-d-announce wrote: [...] > I think ispc is interesting, and a very D-ish thing to have would be > an ispc-like compiler at CTFE that outputs LLVM IR (or assembly or > intel-intrinsics). That would break the language boundary and allows > inlining. Though probably we need newCTFE for this, as everything > interesting seems to need newCTFE :) And it's a gigantic amount of > work.
Much as I love the idea of generating D code at compile-time and look forward to newCTFE, there comes a point when I'd really rather just run the DSL through some kind of preprocessing (i.e., compile with ispc) as part of the build, then link the result to the D code, rather than trying to shoehorn everything into (new)CTFE. T -- You have to expect the unexpected. -- RL
