Swift does away with pointers == pervasive ARC

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 16 20:18:26 PDT 2014


On 6/16/2014 5:48 PM, Manu via Digitalmars-d wrote:
> Hmmm, I still don't buy it,

I know, but you also have not responded to my explanation of why. Such as the 
"dec" being required to be inside an expensive exception handler.

Note that Swift seems to not do exceptions (I may be wrong, again, I know little 
about Swift), which is one way to avoid that problem.


> but I'm thinking more that it might
> benefit from something like a Rust borrowed pointer to maintain safety
> and performance. You like the 'unsafe escape' defense, so we need to
> address that, and I think Rust gave us the answer.

Have you or anyone you know written any non-trivial programs in Rust and tried 
this out?



More information about the Digitalmars-d mailing list