Optimizations and performance

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 9 09:14:08 PDT 2016


On Thursday, 9 June 2016 at 15:58:05 UTC, Jack Stouffer wrote:
> On Thursday, 9 June 2016 at 15:44:04 UTC, Ola Fosheim Grøstad 
> wrote:
>> Otherwise people would benchmark numpy instead of Python etc.
>
> While it's not a one-to-one analogy due to the fact that 
> Appender is in Phobos, I think it would be totally reasonable 
> to benchmark numpy instead of Python.

Well, that makes all benchmarks pointless. C++ would win every 
single one, because you are then benchmarking everything C 
provides, plus everything C++ performance libraries provides, 
plus OpenMP.

C++ would destroy the competition on almost any performance 
benchmark implemented by a group of competent C++ programmers.



More information about the Digitalmars-d mailing list