[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

Thanks!

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...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/dlang-study/attachments/20160208/86a52b38/attachment.sig>


More information about the Dlang-study mailing list