On 03/31/2015 08:24 PM, deadalnix wrote: > I'm going to propose again the same thing as in the past : > - before CTFE switch pool. > - CTFE in the new pool. > - deep copy result from ctfe pool to main pool. > - ditch ctfe pool.
No, it's trivial enough to implement a full AST interpreter. The way it's done currently (using AST nodes as CTFE interpreter values) makes it very hard to use a distinct allocator, because ownership can move from CTFE to compiler and vice versa.
