[Dlang-study] [rcstring] external reference counting

Andrei Alexandrescu andrei at erdani.com
Sat Feb 6 19:39:37 PST 2016


On 02/06/2016 07:47 PM, Михаил Страшун wrote:
> If reference count is stored inside allocator metadata, no cast becomes
> necessary as relevant memory will never be allocated as immutable
> (allocator is in full control on how its own metadata is stored).

I understand. For now I can say a cautious "seems interesting and 
doable". When we get to the implementation I'll see whether and how it 
can be made to work. Thanks! -- Andrei


More information about the Dlang-study mailing list