If you’re evaluating Lua/C++ binding libraries and still looking at sol2, it’s worth reassessing based on current project health and capabilities. Repo activity and issue backlog suggest low maintenance velocity.
🚀 LuaBridge3: actively evolving alternative
Actively maintained with ongoing fixes and improvements:
- Supports Lua 5.5 and Luau (not supported by sol2)
- Performance is competitive and improving, in several cases surpassing sol2
- Support for C++20 coroutines
co_await into Lua
yield back into C++
- Open to contributions, with responsive iteration cycle
👉 https://github.com/kunitoki/luabridge3
🔧 Tooling advantage: tsujikiri integrates with LuaBridge3
The ecosystem goes further with automated binding generation:
- libclang-based analyzer / transformer / generator
- Comparable in spirit to Qt’s Shiboken, but generic and extensible
- Enables:
- Automated bindings generation (luabridge3 support builtin)
- API surface versioning with automation major / minor version bumps suggestions
- Reduced manual glue code and maintenance cost
👉 https://github.com/kunitoki/tsujikiri
Hope you find this useful and can get some inspiration from it.
If you’re evaluating Lua/C++ binding libraries and still looking at sol2, it’s worth reassessing based on current project health and capabilities. Repo activity and issue backlog suggest low maintenance velocity.
🚀 LuaBridge3: actively evolving alternative
Actively maintained with ongoing fixes and improvements:
co_awaitinto Luayieldback into C++👉 https://github.com/kunitoki/luabridge3
🔧 Tooling advantage: tsujikiri integrates with LuaBridge3
The ecosystem goes further with automated binding generation:
👉 https://github.com/kunitoki/tsujikiri
Hope you find this useful and can get some inspiration from it.