Idiomatic D using GC as a library writer

vushu danvu.hustle at gmail.com
Sun Dec 4 16:38:49 UTC 2022


On Sunday, 4 December 2022 at 15:57:26 UTC, Ali Çehreli wrote:
> On 12/4/22 05:58, vushu wrote:
>
> > I was worried if my library should be GC free
>
> May I humbly recommend you question where that thinking comes 
> from?
>
> Ali
>
> P.S. I used to be certain that the idea of GC was wrong and the 
> creators of runtimes with GC were simpletons. In contrast, 
> people like me, people who could understand C++, were 
> enlightened. Then I learned.

I also come from C++ and as you know it, the community over there 
isn't quite fond of GC.
So I just logical think that by excluding the GC you actually 
widen the range of usage.

But if I only want to cater to the d ecosystem then using GC is 
the recommended way.




More information about the Digitalmars-d-learn mailing list