"LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
lambda-the-ultimate.org
"LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
1–10 of 19 posts
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#2Go Rubinius!
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#3This is not an apples to apples comparison, the implemented Languages are fundamentally different. I do think this is an inspiring factoid that shows what is possible with a well done JIT. Go Rubinius!
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#4This is not an apples to apples comparison, the implemented Languages are fundamentally different. I do think this is an inspiring factoid that shows what is possible with a well done JIT. Go Rubinius!
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#5This is not an apples to apples comparison, the implemented Languages are fundamentally different. I do think this is an inspiring factoid that shows what is possible with a well done JIT. Go Rubinius!
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#6This is not an apples to apples comparison, the implemented Languages are fundamentally different. I do think this is an inspiring factoid that shows what is possible with a well done JIT. Go Rubinius!
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#7This is not an apples to apples comparison, the implemented Languages are fundamentally different. I do think this is an inspiring factoid that shows what is possible with a well done JIT. Go Rubinius!
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#8Earlier quoted context omitted.
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
Indeed, they are strikingly similar, one of the key differences being Lua's minimal/extensible dispatch. A function call, by default, involves no searching through superclasses/prototypes. This is likely a big advantage in benchmarks.
That said to me lua seems a little bit like JavaScript's sane cousin.
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#9Earlier quoted context omitted.
how are they very different? Syntax aside, Lua and Javascript are actually pretty similar. I would say they actually are close cousins.
They really are quite different. Here's one example: http://lambda-the-ultimate.org/node/3851#comment-57751
Re: "LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
#10require"c-gmp"(g, aux)
Implying that it is using the GNU Multiprecision Library for it's big integer support, whereas the JS code has:
load('/home/dunham/shootout/bench/Include/javascript/biginteger.js');
Which is apparently a big integer library implemented in javascript http://www-cs-students.stanford.edu/~tjw/jsbn/
In other words, in at least one of the tests a comparison is being made between javascript and C/C++, not javascript and Lua.