I am curious to know, if there is any explanation for why java performs better than Go.
Moreover, the top 5 languages that need less energy and
time to execute the solutions are: C (57J, 2019ms), Rust (59J,
2103ms), C++ (77J, 3155ms), Ada (98J, 3740ms), and Java
(114J, 3821ms); of these, only Java is not compiled.
That is an admirable accomplishment. JRE 1.8 has the most efficient "managed" language runtime tested.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.