Do you use D's GC?

Mike Parker aldacron at gmail.com
Tue Aug 3 06:45:39 UTC 2021


On Tuesday, 3 August 2021 at 05:36:12 UTC, workman wrote:

>
> The D language claim support NOGC Programming, but there is no 
> ecosystem for this. It force people to use GC if they want use 
> library.
>

That's just not true. The language does not *force* you to use 
the GC. But it *is* a language that was designed with the GC in 
mind, so if you want to cut it out completely then you are going 
to have to do some things yourself that you otherwise wouldn't 
have to. It's all about tradeoffs. But that's entirely your 
choice, just as it is for library authors who can choose to use 
the GC or not. The language does it force it either way.


More information about the Digitalmars-d mailing list