Swift does away with pointers == pervasive ARC

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 17 11:44:47 PDT 2014


On 6/17/2014 11:31 AM, H. S. Teoh via Digitalmars-d wrote:
> I don't think he's claiming that the compiler can eliminate *all* costs
> associated with ARC, just that it can do enough to be reasonably
> performant.

Such a claim still cannot be made without understanding the costs incurred when 
it cannot be eliminated.


> But as I said, until somebody actually implements such a
> thing in a (github fork of a) D compiler, we have no real evidence as to
> just how much the compiler can/cannot do.

You can do data flow analysis in your head and mock up the results and test them 
without too much difficulty.



More information about the Digitalmars-d mailing list