Talk by Herb Sutter: Bridge to NewThingia
Guillaume Piolat
first.name at gmail.com
Mon Jun 29 22:23:57 UTC 2020
On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote:
> D has a GC. If you turn it off you lose dynamic/associative
> arrays, classes, probably something else.
This is the outside perception of the way things are.
In reality you can actually disable the GC and still use:
- classes
- associative arrays (dplug:core)
- dynamic arrays if you manage their lifetime
So discarding D because it has a GC is an unfortunate common
idea, that isn't really confirmed by experience: none of
industrial users have had intractable problems with it.7
If anything, a GC is a global owner that can avoid some copies,
hence... allocation.
More information about the Digitalmars-d-announce
mailing list