Welcome! Log In Create A New Profile

Advanced

Re: [ANN] OpenResty 1.7.7.2 released

Yichun Zhang (agentzh)
February 05, 2015 03:40PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ANN] OpenResty 1.7.7.2 released

Yichun Zhang (agentzh) February 04, 2015 05:24PM

Re: [ANN] OpenResty 1.7.7.2 released

bgoksu February 05, 2015 03:50AM

Re: [ANN] OpenResty 1.7.7.2 released

Yichun Zhang (agentzh) February 05, 2015 03:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready