24 points · by vapourismo · 11y ago · 12 comments
Could you explain exactly what yours does differently?
Luwra uses inlinable functions and templates almost exclusively. That way (best-case scenario), each wrapped field/method/constructor/function implies only one generated lua_CFunction, which invokes the Lua API to retrieve the values and finally call the wrapped function with them. And all that, during compile-time, which in my opinion is the best part about it.
It's a shame, because the library itself is intuitive and reliable, but building it is just painful.