Example of Why Reference Counting is Important
Vijay Nayar
madric at gmail.com
Fri Aug 11 11:28:09 UTC 2023
On Thursday, 10 August 2023 at 13:33:21 UTC, Vijay Nayar wrote:
> **TL;DR**: Reference Counting is a frequent topic of discussion
> in the D community. The motivations aren't always clear. In the
> context of machine learning, reference counting is valuable due
> to the low memory capacity of graphics cards, and the need to
> free unused memory as quickly as possible.
And just for additional reference, the discussion about the
choice of garbage collector in Python (reference counting paired
with a cyclic garbage collector to find reference cycles) can be
found here:
https://devguide.python.org/internals/garbage-collector/
"CPython" is just the reference implementation of the Python
language, it's akin to `dmd`.
More information about the Digitalmars-d
mailing list