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?