| > … the paper separates languages into… The paper, both shows tables that include all the results (ordered by Energy consumed) and shows separate charts for what the authors classify as "either a compiled, interpreted, or virtual-machine language". What is "an interpreted language" ? "Although we refer to Lua as an interpreted language, Lua always precompiles source code to an intermediate form before running it. … The presence of a compilation phase may sound out of place in an interpreted language like Lua. However, the distinguishing feature of interpreted languages is not that they are not compiled, but that any eventual compiler is part of the language runtime and that, therefore, it is possible (and easy) to execute code generated on the fly." p57 "Programming in Lua" (2003) > … why would you compare the performance of C and Ruby, for example? Ruby is bound to be slower… Except when the C program is measured to be 50x slower than the Ruby program -- http://benchmarksgame.alioth.debian.org/u32/compare.php?lang... |
I guess you misinterpreted my comment. I didn't imply there are no reasons to compare C and Ruby. I said the reason is important and the way you portray that, and the way you portray your results, changes things.