Overview of LuaBridge 3.0
masterLuaBridge3 is a lightweight, dependency-free, headers-only C++ library designed for mapping data, functions, and classes between C++ and Lua. It is highly optimized for performance and is compatible with a wide range of Lua implementations, making it suitable for game development and embedded scripting.
Supported Lua Implementations:
- PUC-Lua: 5.1.5, 5.2.4, 5.3.6, 5.4.8, and 5.5.0
- LuaJIT: 2.1
- Luau: 0.713
- Ravi: 1.0-beta11
Key Features:
- Headers-only: No build system or
.cppfiles required; just#includethe headers. - C++17 Compliant: Requires a C++17 compatible compiler.
- Type-safe: Provides convenient, type-safe access to the Lua stack.
- Automatic Binding: Supports automatic function parameter type binding and overloading (functions, constructors, and static functions).
- Modern C++ Support: Interoperable with STL containers, smart pointers (
std::shared_ptr,std::unique_ptr), and modern C++17/20/23 features.