Ref counting for CTFE?

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Thu May 29 10:37:41 PDT 2014


On Thursday, 29 May 2014 at 17:33:15 UTC, Steven Schveighoffer 
wrote:
> On Thu, 29 May 2014 13:07:17 -0400, safety0ff 
> <safety0ff.dev at gmail.com> wrote:
>
>> On Thursday, 29 May 2014 at 16:13:40 UTC, Ary Borenszweig 
>> wrote:
>>>
>>> If you add reference counting or a GC to the compiler, it 
>>> will make those large projects compile, but it will 
>>> inevitably be slower than now. That's why Walter disabled GC 
>>> completely in the compiler (turning it on made the compiler 
>>> really slow).
>>
>> AFAIK, he was talking about a whole compiler GC and not a CTFE 
>> only GC/RC.
>> AFAIK, before the data structures created by CTFE join the 
>> AST, they get "scrubbed" which could help us implement a 
>> self-contained memory managing strategy for CTFE.
>
> If by "he" you mean me, I was talking only about CTFE, not the 
> whole compiler.

By "he", I meant Walter.


More information about the Digitalmars-d mailing list