$ luarocks install lua-resty-ffi
With lua-resty-ffi, You could develop openresty libraries in mainstream languages (Go, Python, Java, Rust, Node.js).
Features:
* nonblocking, in coroutine way
* simple but extensible interface, supports any C ABI compliant language
* once and for all, no need to write C/Lua codes to do coupling anymore
* high performance, faster than unix domain socket way
* generic loader library for python/java/nodejs
* any serialization message format you like