7 ms·
Are there any other current benchmarks around for LuaJIT vs for instance java?
by _casperc 14y ago
Are there any other current benchmarks around for LuaJIT vs for instance java?
- alberth 14y agoWhen then Programming Language Shootout use to include LuaJIT, it had a benchmark against Java. If you want to see just LuaJIT vs Lua, [1] is a good comparison. The reason why I liked the inclusion of LuaJIT in the Programming Language Shootout was that it compared LuaJIT to other language implementations not just on speed, but memory consumption and lines of code. All of which, LuaJIT typically dominated. [1] http://luajit.org/performance_x86.html http://luajit.org/performance_x86.html
- abecedarius 14y agohttps://github.com/darius/superbench https://github.com/darius/superbench is not a big fancy cross-language shootout, at all, but I tried a few little programs I actually cared about. LuaJIT 'won' in the sense that of the languages I tried it had the best combo of performance and pleasant productivity, informally. I didn't try to quantify the latter. (Also, no Java because I wouldn't seriously consider it for hacking-for-fun.)
- alberth 14y agoWhere are the results of the benchmark?
- abecedarius 14y agoYou can run superopt/benchmark.sh on your machine. I'm away from home and the machine with the various languages installed.
- malkia 14y agoOn top of that, luajit is very small/compact, and easily embeddable. FFI alone stands out as a huge win overall!