On 17 June 2014 10:57, Ary Borenszweig via Digitalmars-d <[email protected]> wrote: > On 6/16/14, 9:22 PM, Manu via Digitalmars-d wrote: >> >> On 17 June 2014 10:08, deadalnix via Digitalmars-d >> <[email protected]> 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.
The disassembly showed that without -Ofast, lots of redundant ref fiddling remained, and also many bounds checks. It might be something like rigid @safe-ty without -Ofast.
