Re:Firefox Nightly Gets New Baseline JIT Compiler
by simonster on Friday April 05, 2013 @06:20PM
(#5501424)
By "lots of big brains," I think you mean Mike Pall :). But yeah, LuaJIT is really fast.
Julia (http://julialang.org/) is another dynamic language designed from the start for high performance, although the objectives are slightly different from those of Lua. While LuaJIT is fast at everything, Julia is really optimized so that running the same code many times is fast. Running a function the first time can be much slower than in other dynamic languages, I think because there is no baseline JIT or interpreter.
Re:Firefox Nightly Gets New Baseline JIT Compiler
by kzrdude on Friday April 05, 2013 @07:21PM
(#5501658)
My impression would be that
* LuaJIT is comparable to the best javascript engines in performance
* LuaJIT is entirely the work of one person.
Lua is well designed and values simplicity, which has lent itself well to Pall's success.
Re:Firefox Nightly Gets New Baseline JIT Compiler
by nnethercote on Friday April 05, 2013 @10:29PM
(#5502390)
And Mike Pall is a superhero when it comes to writing JIT compilers.
Re:Firefox Nightly Gets New Baseline JIT Compiler
by lucian1900 on Friday April 05, 2013 @06:18PM
(#5501420)
Also PyPy, which is generally about as fast as v8 on benchmarks.
Re:Firefox Nightly Gets New Baseline JIT Compiler
by Shamharoth on Friday April 05, 2013 @08:10PM
(#5501852)
And also because it isn't a shitty language, like js.
Yes we do: Lua--optimized by lots of big brains for use in gaming. And it turns out that LuaJIT is much faster than any current Javascript JIT--with the reason frequently given that it is a much simpler language.