Bottom line re GC in D

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 8 03:43:22 PDT 2014


On Tuesday, 8 July 2014 at 10:25:17 UTC, Oluca wrote:
>
> - You can't use slices. You can't make use of most of the 
> Standard Library functionality.

You just cannot append to them.

> - It matters, because you can't manually manage life-time of 
> the objects. See, you have to keep a reference to a C-String 
> that you send to a C function, otherwise GC will eat it up, 
> because it can't know better than you, yet tries to do your 
> job. GC will always stand in the way, and if you want to turn 
> it off, as I stated above, D becomes a less useful language.

It's still very useful, as I stated above.



More information about the Digitalmars-d mailing list