Swift does away with pointers == pervasive ARC

Ary Borenszweig via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 16 17:57:04 PDT 2014


On 6/16/14, 9:22 PM, Manu via Digitalmars-d wrote:
> On 17 June 2014 10:08, deadalnix via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> On Monday, 16 June 2014 at 15:16:44 UTC, Manu via Digitalmars-d wrote:
>>>
>>> What say you to that, Walter?
>>>
>>> Apple have committed to pervasive ARC, which you consistently argue is
>>> not feasible...
>>> Have I missed something, or is this a demonstration that it is
>>> actually practical?
>>
>>
>> http://stackoverflow.com/questions/24101718/swift-performance-sorting-arrays
>>
>> Does it answer the question ?
>
> -Ofast seems to perform the same as C++. -Ofast allegedly does
> basically what '-release -noboundscheck' does. You'd never try and
> benchmark D code without those flags.

But other languages are very fast without loosing the bounds check... 
Other languages don't sacrifice safety and yet are very performant.



More information about the Digitalmars-d mailing list