Swift does away with pointers == pervasive ARC

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


On 6/16/2014 5:57 PM, Ary Borenszweig wrote:
> 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.
>

It's also not a ref-counting benchmark.

BTW, just pushed a new optimization to dmd's back end that dramatically reduces 
the number of bounds checks. But that won't help with ref-counting, either.


More information about the Digitalmars-d mailing list