The D standard library is built on GC, is that a negative or positive?
Steven Schveighoffer
schveiguy at gmail.com
Tue Dec 13 16:25:59 UTC 2022
On 12/13/22 2:11 AM, thebluepandabear wrote:
> Hello,
>
> I was speaking to one of my friends on D language and he spoke about how
> he doesn't like D language due to the fact that its standard library is
> built on top of GC (garbage collection).
>
> He said that if he doesn't want to implement GC he misses out on the
> standard library, which for him is a big disadvantage.
>
> Does this claim have merit? I am not far enough into learning D, so I
> haven't touched GC stuff yet, but I am curious what the D community has
> to say about this issue.
>
>
Most pieces do not use the GC except to throw exceptions. This one thing
is preventing much of the standard library from being @nogc.
I'm not sure what the priority of DIP1008 implementation is, but if we
want to severely lessen the reliance on the GC, this would be a huge
step in that direction.
-Steve
More information about the Digitalmars-d
mailing list