lua-resty-core

lua-resty-core - New FFI-based Lua API for ngx_http_lua_module and/or ngx_stream_lua_module.


This pure Lua library reimplements part of the ngx_lua module's Nginx API for Lua with LuaJIT FFI and installs the new FFI-based Lua API into the ngx.* and ndk.* namespaces used by the ngx_lua module.

In addition, this Lua library implements any significant new Lua APIs of the ngx_lua module as proper Lua modules, like ngx.semaphore and ngx.balancer.

The FFI-based Lua API can work with LuaJIT's JIT compiler. ngx_lua's default API is based on the standard Lua C API, which will never be JIT compiled and the user Lua code is always interpreted (slowly).

Support for the new ngx_stream_lua_module has also begun.

This library is shipped with the OpenResty bundle by default. So you do not really need to worry about the dependencies and requirements.

Versions

0.1.28-0178 days ago(revision: 2)3 downloads
0.1.27-0178 days ago(revision: 2)0 downloads
0.1.26-0178 days ago(revision: 2)0 downloads
0.1.25-0178 days ago(revision: 2)0 downloads
0.1.24-0178 days ago(revision: 2)0 downloads
0.1.23-0178 days ago(revision: 2)0 downloads
0.1.22-0178 days ago(revision: 2)0 downloads
0.1.21-0178 days ago(revision: 2)0 downloads
0.1.20-0178 days ago(revision: 2)0 downloads
0.1.19-0178 days ago(revision: 2)0 downloads
0.1.18-0178 days ago(revision: 2)0 downloads
0.1.17-0178 days ago(revision: 2)0 downloads
0.1.16-0178 days ago(revision: 2)0 downloads
0.1.15-0178 days ago(revision: 2)0 downloads
0.1.14-0178 days ago(revision: 2)0 downloads
0.1.13-0178 days ago(revision: 2)0 downloads
0.1.12-0178 days ago(revision: 2)0 downloads
0.1.11-0178 days ago(revision: 2)0 downloads
0.1.10-0178 days ago(revision: 2)0 downloads
0.1.9-0178 days ago(revision: 2)0 downloads
0.1.8-0178 days ago(revision: 2)0 downloads
0.1.7-0178 days ago(revision: 2)0 downloads
0.1.6-0178 days ago(revision: 2)0 downloads
0.1.5-0178 days ago(revision: 2)0 downloads
0.1.4-0178 days ago(revision: 2)0 downloads
0.1.3-0178 days ago(revision: 2)0 downloads
0.1.2-0178 days ago(revision: 2)0 downloads
0.1.1-0178 days ago(revision: 2)0 downloads
0.1.0-0178 days ago(revision: 2)0 downloads
0.0.9-0178 days ago(revision: 2)0 downloads
0.0.8-0178 days ago(revision: 2)0 downloads
0.0.7-0178 days ago(revision: 2)0 downloads
0.0.6-0178 days ago(revision: 2)0 downloads
0.0.5-0178 days ago(revision: 2)0 downloads
0.0.4-0178 days ago(revision: 2)0 downloads
0.0.3-0178 days ago(revision: 2)0 downloads
0.0.2-0178 days ago(revision: 2)0 downloads
0.0.1-0178 days ago(revision: 2)0 downloads

Dependencies