Humble benchmark (fisher's exact test)

Guillaume Piolat first.last at gmail.com
Sat Aug 14 19:28:42 UTC 2021


On Saturday, 14 August 2021 at 16:20:21 UTC, Tejas wrote:
>
> It's so frustrating to see C/C++ always being the winners in 
> the **absolute** sense, and we always end up making the 
> argument about how much more painstaking it is to actually 
> create a complete program in those languages only for 
> negligibly better performance.
>
> Do these benchmarks even matter if it's all about the quality 
> of implementation?

If you pay me I can produce a faster D version of whatever small 
program you want.
But the reality is that noone really _needs_ those benchmark 
programs, and thinking about optimizing them is an adequate 
punishment for writing them.

The only things I can think of where C++ could wins a bit against 
D was that the ICC compiler could auto-vectorize transcendentals. 
Like logf in a loop, which LLVM doesn't do.
But the ICC compiler has been moving to LLVM recently.

When your compiler see the same IR from different front-end 
language, in the end it is the same codegen.


More information about the Digitalmars-d mailing list