DIP77 - Fix unsafe RC pass by 'ref'

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 8 19:02:43 PDT 2015


On Thursday, 9 April 2015 at 01:35:14 UTC, Walter Bright wrote:
> On 4/8/2015 6:19 PM, Brad Anderson wrote:
>> On Thursday, 9 April 2015 at 00:30:46 UTC, deadalnix wrote:
>>> On Wednesday, 8 April 2015 at 23:11:08 UTC, Walter Bright 
>>> wrote:
>>>> http://wiki.dlang.org/DIP77
>>>
>>> That is pretty much the old Rust solution called boxing. This 
>>> sound like the
>>> right way forward to me.
>>
>> Any idea why they abandoned it?
>
> No, but I can guess. It's less efficient.

This and the fact that they want to prevent multiple writable 
burrow for concurrency reasons, so that seemed like the correct 
way forward for them.


More information about the Digitalmars-d mailing list