draft proposal for ref counting in D
bearophile
bearophileHUGS at lycos.com
Wed Oct 9 17:33:11 PDT 2013
Walter Bright:
Where are the benchmarks that show that this is a good idea in
some real situations? This is the essential first step.
> If a class contains the following methods, in either itself or
> a base class, it is
> an RC class:
>
>
> T AddRef();
> T Release();
What if a programmer adds only one of those two? Currently if you
add only part of the hashing protocol (or you bork a function
signature) the compiler often gives no errors.
What are the plans for coalescing and optimizing away some
reference counts updates?
Bye,
bearophile
More information about the Digitalmars-d
mailing list