Ref counting for CTFE?
safety0ff via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 29 10:07:17 PDT 2014
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.
More information about the Digitalmars-d
mailing list