Energy Efficiency Across Programming Languages
According to their normalized "global" results, something interesting i see:<p>1. Pascal, surprisingly, the most memory efficient of all. I should take a look at the implementation they used.<p>2. Rust a good alternative to C which leads in "energy efficiency" and speed.<p>3. Common Lisp most energy-efficient <i>and</i> fastest <i>and</i> smallest memory footprint of <i>all</i> the dynamic programming languages in the list -- like Python, Ruby, Lua, Perl, and even Racket (which fares pretty well)<p>4. PHP, JRuby, Ruby, Typescript, Perl, Python, being <i>massively</i> slow than the fastest languages, for example Ruby being 59 times slower than Rust or C.<p>I agree that these languages (in item 4) are "acceptably fast" for many applications, but we can't say they are "close to the speed" of the fastest languages, even more if we consider the fastest dynamic+interactive languages like Lisp (Python being 21 times slower than Lisp.)<p>5. I wonder which implementation of Lua they used. Lua can be pretty fast, one of the fastest dynamic languages out there.