[Dlang-study] [rcstring] external reference counting
public at dicebot.lv
Mon Feb 8 00:31:43 PST 2016
On 02/07/2016 05:39 AM, Andrei Alexandrescu wrote:
> 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
I don't have full convidence that it will work but it feels like
something that should be explored (and possibly discarded by practice)
before considering even small tweaks to language specification.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the Dlang-study