Skip to content

Choice for Lua C++ binding

engleek edited this page Sep 13, 2010 · 1 revision

We chose to start working with lunar.h, but I can’t remember why.

There are quite a few different libraries, as noted here:

  • [CppLua] (5.0) – a C++ wrapper of the the Lua API; handles class member functions.
  • [Diluculum] (5.1) – A library that intends to make the coexistence of C++ and Lua more harmonious.
  • [Luabind] (5.1) – a template-based binding of C++ classes and functions which uses the Boost library.
  • [Luabridge] (5.1) – lightweight, dependency-free, template-based library for exporting C++ classes/functions to Lua environments.
  • [Luna] (4.0) and LunaWrapper (5.1) – clean, template-based method of binding a C++ class to Lua. See also [LTN5] and SimplerCppBinding.
  • [MLuaBind] (5.1) – a template-based binding of C++ classes and functions which uses the Loki library.
  • [MultiScript] (5.1) – a simple library that demonstrates Lua independent C++ interface to bind C++ classes and functions.
  • [SLB] (5.1) – Simple Lua Binder, template-based library very similar to Luabind but without boost.
  • [Sweet Lua] (5.1) – a template-based binding of C++ classes and functions. (MSVC)

Some of them have dependencies, others have more functions or are simpler.

Clone this wiki locally