Re:Energy Efficiency Across Programming Languages
by jaawn on Friday September 15, 2017 @02:54PM
(#15259712)
The Java performance was the most interesting part of the results for me. I'm glad it got some attention. I have been developing the opinion for awhile that, as an industry, we've become far too avoidant of "pre-mature" optimization. It is astonishing to me how much slower a lot of this stuff is than Java.
Granted, I also think considering Java to be "not compiled" is a slight misrepresentation since it does get compiled to Java bytecode.
The PHP result is interesting; they used 7.x which is roughly twice as efficient as older (5.x) versions; PHP 7 was primarily a (successful) effort to improve performance. If you extrapolate the PHP result to the old version (multiply by 2) it's nearly as bad as Perl and among the slowest/most costly. That certainly corroborates Facebook's several PHP re-implementations.