News for hackers. Stuff that matters.
Re:PHP 7 word count benchmark by meritt on Wednesday March 23, 2016 @01:51PM (#11346650)
The algorithms differ considerably across language and the PHP one is particularly inefficient. The algorithms must be held constant in order for this "benchmark" to be valid.

As of right now this is just a programming competition across a variety of languages.

Re:PHP 7 word count benchmark by klodolph on Wednesday March 23, 2016 @02:10PM (#11346831)
I'm imagining an alternate version of the Wizard of Oz, where Dorothy clicks her ruby keyboard and says, "All benchmarks are flawed. All benchmarks are flawed. All benchmarks are flawed."

This is not an uncommon technique for comparing programming languages. We are not just trying to compare the performance of different implementations, but we are trying to compare the performance of different idiomatic programming styles in different languages. The shootout does the same thing. And yes, the shootout is also flawed.

Re:PHP 7 word count benchmark by NEDM64 on Wednesday March 23, 2016 @03:31PM (#11347488)
Surprised by Python and Go results. They should have tested with PyPy too.
Re:PHP 7 word count benchmark by rurban on Thursday March 24, 2016 @03:31AM (#11351167)
It's only testing the quality of hash tables and sort, not much else. siphash beating FNV1 can only be explained with the table implementation
Re:PHP 7 word count benchmark by leeoniya on Wednesday March 23, 2016 @01:37PM (#11346536)
i wonder if you could do even better with PHP's SPL* functions like:

http://php.net/manual/en/class.splfixedarray.php