DIP77 - Fix unsafe RC pass by 'ref'
via Digitalmars-d
digitalmars-d at puremagic.com
Thu Apr 9 02:05:08 PDT 2015
On Wednesday, 8 April 2015 at 23:11:08 UTC, Walter Bright wrote:
> http://wiki.dlang.org/DIP77
I've only skimmed this, but:
1. I don't think Objective-C uses autorelease pools for any other
reason than to make manual ref counting easier.
See also John McCall's reflections on ARC:
http://forum.dlang.org/thread/mcqcor$aa$1@digitalmars.com?page=2#post-hgmhgirfervrsvcghchw:40forum.dlang.org
2. How will this work with "yield"?
Why not just implement the more generic solution (shared pointers
with move/borrow or WPO) ?
More information about the Digitalmars-d
mailing list