I wonder how fast we'd do

Mike Franklin slavo5150 at yahoo.com
Tue May 28 05:20:00 UTC 2019


On Tuesday, 28 May 2019 at 05:17:09 UTC, Mike Franklin wrote:
> On Tuesday, 28 May 2019 at 04:38:32 UTC, Andrei Alexandrescu 
> wrote:
>> https://jackmott.github.io/programming/2016/07/22/making-obvious-fast.html
>
> Here's a comparison between LDC, GCC 9.1, and CLang 8.0 in 
> Compiler Explorer.  The GCC code looks awfully compact.  The 
> LDC and CLang code look quite similar.
>
> I tried to test at https://explore.dgnu.org/ also, but when I 
> attempted, the service was down :(

And DMD with -O -release to get rid of bounds checking:

https://run.dlang.io/is/4QmXkO

Doesn't look as good as the others.

Mike




More information about the Digitalmars-d mailing list