Ross ROSS = Recommend OSS · open-source software intelligence for agents

ThePhD/sol2

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation: observed · 2026-08-28

github.com/ThePhD/sol2 · homepage · C++ · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

27/100

  • Activity 10
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3891
  • days_rel: n/a
  • days_push: 544
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

5132 stars · 608 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

sol2 (Sol3) is a header-only C++17 library that provides fast, modern bindings between C++ and Lua, supporting Lua 5.1+, LuaJIT, and MoonJIT. It lets C++ code expose functions, lambdas, and user-defined types to Lua scripts and call Lua from C++ with a simple, high-performance API.

Use cases

  • embed a Lua scripting engine in a C++ application
  • expose C++ classes and functions to Lua scripts
  • script game logic in Lua from a C++ game engine
  • call Lua functions from C++ and pass complex data types
  • bind std::map, vectors, and smart pointers to Lua tables
  • add a fast, easy-to-integrate scripting layer to a C++ project

When to choose

  • you need C++/Lua interop with top performance
  • you want a header-only, drag-and-drop integration
  • you need to bind modern C++ types (smart pointers, variants, containers) to Lua
  • you support multiple Lua versions including LuaJIT

When to avoid

  • you need bindings for a language other than Lua
  • you want a compiled library with ABI stability rather than header-only
  • your project cannot use C++17

Facets

library · maturity stable

sdk interpreter plugin-system programming-languages developer-tools cpp cross-platform windows lua-bindings header-only luajit scripting modern-cpp cpp17 game-development linux macos android ios

1 source

Member repositories

RepositoryRoleHealth v2
ThePhD/sol2main27

For agents

markdown · JSON · MCP: product_card(name="ThePhD/sol2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem