Battle-plan for CTFE

Daniel Murphy via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon May 16 08:00:04 PDT 2016


On 16/05/2016 9:20 PM, Martin Nowak wrote:
> 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.

Maybe you wouldn't, but you certainly could...


More information about the Digitalmars-d-announce mailing list