Optimizations and performance
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 9 18:54:21 PDT 2016
On Thursday, 9 June 2016 at 17:19:36 UTC, Kagamin wrote:
> On Thursday, 9 June 2016 at 16:14:08 UTC, Ola Fosheim Grøstad
> wrote:
>> C++ would destroy the competition on almost any performance
>> benchmark implemented by a group of competent C++ programmers.
>
> How can it win over assembler?
By language you usually mean a portable language, not machine
language. Machine language benchmark the hardware, not the
compiler.
But even then, domain experts are more likely to write higher
performance code than non-domain experts, so machine language
isn't sufficient. Therefore a large library-oriented benchmarking
suite will favour the older language with more high performance
libraries. Like Fortran and C/C++.
> Also what's about cost/benefit ratio?
How do you benchmark cost/benefit?
More information about the Digitalmars-d
mailing list