4 ms·
There are luabridge and SOL for Lua to interface with C++. Not used them, both seems gearing towards how to call Lua from C++ code easily, do they also help me
by synergy20 4y ago
There are luabridge and SOL for Lua to interface with C++. Not used them, both seems gearing towards how to call Lua from C++ code easily, do they also help me to create C++ extensions for Lua to call, I do not know yet.
I have yet to find similar packages for C SWIG can be used to ease the c-binding coding.
Lua with C/C++ works basically like Python with CFFI, but Lua is much simpler and light weight that you can embed into your projects directly. A perfect combination between glue scripting and heavy lifting code that is small and easy to maintain.