|
|
|
|
|
by rurban
3307 days ago
|
|
Perl is only faster here in nbody because I tricked it. I used a tricky compile-time optimization for faster array index access. You wouldn't do that in the real world, and in the real world PHP, ruby and python are faster. cperl instead is only beaten by PHP. But the benchmark game is not open for faster alternate engines like luajit, nim, crystal, pypy, truffle-graal, ... or even slower ones like Perl6, which limits the impact of those better engines. Decades ago it was open and written in Perl. Then it was rewritten in Python and closed down. Go figure. |
|
And you even comment on that usage in your code.
>> Decades ago it was open and written in Perl. Then it was rewritten in Python and closed down. Go figure. <<
At best your comment is disingenuous.
You can download the Python measurement scripts, use them with luajit, nim, crystal, pypy, truffle-graal or Perl6 programs and publish the measurements.
You don't. Go figure.