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.

Reply via email to