I have two projects on hand, (A) written in Lua-5.1, (B) written in python3.6.
Currently I am using Websocket for data exchange bewteen A and B program. However, I cannot ensure the performance of using websocket since there are some network latency sometimes. Tried to use Protobuf, but network is still an issue.
Include Lua project in Python may solve this problem. Is there any way to do so? Like compile Lua project to a shared library (.so), and include it in my Python project?