Swift does away with pointers == pervasive ARC

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 17 02:10:18 PDT 2014


On 6/17/2014 1:59 AM, Nick Sabalausky wrote:
> It's not that I don't believe you, I guess I must have just missed a lot of
> those posts, or probably glanced through them too quickly. I'm more interested
> in this topic now than I was before, so I'm just trying to get up to speed (so
> to speak). I'll try to look up those posts again before I end up asking them to
> be repeated.
>
> Keep in mind, for people in certain areas, the allure of a memory management
> system with no/minimal collection pauses, minimized memory requirements and good
> behavior in low-memory conditions (even if it all comes with a non-trivial
> overall performance cost and a little bit of care here and there) can be VERY
> strong. So, FWIW, that's the perspective where all this is coming from.


Oh, I totally understand where it's coming from. I'm trying to point out that 
ARC is not a magic zero-cost system. Its costs are SUBSTANTIAL. But in order to 
understand those costs, it is necessary to understand how exception handling works.


More information about the Digitalmars-d mailing list