On 26/06/2021 2:38 pm, David Crayford wrote:

I think the C++ compiler/library is a large part of it. On other platforms vector<bool> was apparently a big performance improvement, on z/OS removing it was a big improvement. So if there is something smart happening there on other platforms, there might be something not so smart on z/OS. xlclang++ might recover that performance.

I think the C++ code is sub-optimal. The PrimesC code is 5x faster than Java so if I were to compile that code with the C++ compiler would it qualify as C++?

That's an exaggeration. C is just over 3x faster.

C

    mckoss-c830;14285;5.0;1;algorithm=wheel,faithful=yes,bits=1

Java

    MansenC;4257;5.000000;1;algorithm=base,faithful=yes

NodeJS (lolz! So much for IBMs V8 JIT engine)

    fvbakelnodejs;887;5.004;1;algorithm=base,faithful=yes,bits=1

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to