DIP77 - Fix unsafe RC pass by 'ref'

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 08:59:16 PDT 2015


On 04/09/2015 01:10 AM, Walter Bright wrote:
> http://wiki.dlang.org/DIP77

It's a very interesting proposal to tackle this specific problem.

As with all the scope/lifetime related stuff, I find it extremely
difficult to anticipate all the needs and foresee how this will
integrate with the rest of the language, or even the other scope related
DIPs.

At this point it might be better to make a dmd branch and throw up a
prototype for all the scope/ref-counted work. The litmus test for a
successful design would be safe, efficient, @nogc containers.


More information about the Digitalmars-d mailing list