On Saturday, 14 January 2017 at 04:14:11 UTC, Chris Wright wrote:


It's reference counting.

Reference counting is like garbage collection, but deamortized. This is better for real-time applications. However, it adds overhead on every assignment and every variable going out of scope.

In D, garbage collection is more expensive than it is in other languages, so the tradeoff is more attractive than it would be in other languages.

Garbage collection in D is more expensive just because of the poor implementation, from what I've heard. If that's the case, people who work on it should be able to improve it over time.

Reply via email to