On Mon, 03 Feb 2014 19:00:30 -0800, Adam Wilson <[email protected]> wrote:

On Mon, 03 Feb 2014 18:53:39 -0800, Andrei Alexandrescu <[email protected]> wrote:

On 2/3/14, 4:49 PM, Adam Wilson wrote:
That may be the case, but StackOverflow shows that ARC hasn't been
panacea in Apple land either. Way to many people don't understand ARC
and how to use it, and subsequently beg for help understanding
heisenleaks and weak references. ARC places a higher cognitive load on
the programmer than a GC does. And Android runs just fine with GC'ed
apps, but ARC guys don't want to talk about Google's successes there.

Links please.

Andrei

Easier to link a couple of Google searches:
https://www.google.com/search?q=ios+stack+overflow+cyclic+reference&oq=stack+overflow+ios+cyclic+reference

Note that some of those are related to circular imports as well. But the problems definitely show up in that list.


Note that ObjC has special syntax to handle weak pointers. It's not well understood by many. And for D it would create an explosion of leaks in existing code when there previously were none, due to the need to mark all weak-refs explicitly.

--
Adam Wilson
GitHub/IRC: LightBender
Aurora Project Coordinator

Reply via email to