[ANN] OpenResty 1.7.7.2 released
Yichun Zhang (agentzh)
agentzh at gmail.com
Thu Feb 5 20:38:01 UTC 2015
Hello!
On Thu, Feb 5, 2015 at 12:47 AM, Batuhan Göksu wrote:
> There are many great new features.
> Why "lua" has not been updated ????
>
By default, OpenResty uses LuaJIT, which is actively updated upon
almost every new OpenResty release.
The bundled standard Lua interpreter is only used when you explicitly
disable LuaJIT by configuring with the --with-lua51 option (default
off). And yeah, we can only use the standard Lua interpreter in its
official 5.1 release series because Lua 5.2 and 5.3 are incompatible
languages than 5.1 and have incompatible ABI and API as well. See the
following comment for more details (it was about Lua 5.2 but also
applied equally well to Lua 5.3 and beyond):
https://github.com/openresty/lua-nginx-module/issues/343#issuecomment-36442169
FWIW, LuaJIT implements the Lua 5.1 language as well as some
*compatible* Lua 5.2 features which can be enabled by the user by
specifying the
--with-luajit-xcflags='-DLUAJIT_ENABLE_LUA52COMPAT'
./configure option while building OpenResty.
Regards,
-agentzh
More information about the nginx
mailing list