Swift does away with pointers == pervasive ARC

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 17 11:20:12 PDT 2014


On Tuesday, 17 June 2014 at 18:15:24 UTC, Walter Bright wrote:
>
> It is not possible to understand the tradeoffs with ARC without 
> understanding the cost of the DEC.

One thing D has going for it compared to C++ for reference
counting is shared vs. unshared types.  At least ARC in D
wouldn't have to default to performing synchronized reference
counting like shared_ptr does in C++.


More information about the Digitalmars-d mailing list