Battle-plan for CTFE

Martin Nowak via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon May 16 04:20:27 PDT 2016


On Monday, 16 May 2016 at 10:01:47 UTC, Kagamin wrote:
> Wasn't it possible to enable GC for entire compiler? There can 
> be hybrid approach: 1) first allocate from bump heap 2) when it 
> reaches, say, 200MB, switch to GC.

Well, I wouldn't use D's GC for that dedicated heap.
Allocation of CTFE values are completely independent and call be 
freed once the evaluation is finished.


More information about the Digitalmars-d-announce mailing list