lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


William Ahern <william@25thandClement.com> writes:
> The stock Lua VM is exceptionally fast as-is.  In the Lua
> community everybody perceives stock Lua as slow relative to LuaJIT. But
> stock Lua is many times faster than Perl, Python, Ruby and other similar
> languages.

Even the perception that it's "slow relative to LuaJIT" is a bit
misguided...  LuaJIT offers a very nice speedup for certain types of
operations, but this doesn't always result in the whole program being
much faster... many things, LuaJIT just can't optimize all that well.

[This is especially true if you're trying to be portable; getting the
ultimate speed out of LuaJIT often involves writing LuaJIT code, not Lua
code...]

-miles

-- 
Brain, n. An apparatus with which we think we think.