Feedback from the Gripes and Wishes Campaign
IGotD-
nise at nise.com
Sun May 21 17:25:35 UTC 2023
On Saturday, 20 May 2023 at 20:41:31 UTC, Richard (Rikki) Andrew
Cattermole wrote:
>
> It makes a lot of sense looking at it in hindsight.
>
> The GC is just a fancy pants memory allocator after all.
>
> So the fact that we use the "GC language extensions" in CTFE is
> kinda irrelevant. It could just as easily work with malloc +
> free if somebody wanted to implement it.
Translation of Walters claim:
CTFE is much easier when you don't need to worry about life times.
A follow up question is if it would be just as easy with a GC
based on RAII.
More information about the Digitalmars-d
mailing list