Battle-plan for CTFE

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon May 16 03:01:47 PDT 2016


On Sunday, 15 May 2016 at 13:25:42 UTC, Martin Nowak wrote:
> So we do need a GC or RC for arrays, structs, classes (anything 
> heapish). Values for those could be allocated by a simple 
> bump/region allocator or a dedicated allocator that support 
> individual freeing (via RC or GC).

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.


More information about the Digitalmars-d-announce mailing list