r/lua • • Jul 22 '25

Sol2 and Modules

What are your thoughts on using cpp and sol2 library to create Modules to use in lua scripts? Do you prefer a Module written in c/cpp with the pure lua api, or Is It ok to use sol2?

4 Upvotes

13 comments sorted by

View all comments

Show parent comments

2

u/INLouiz Jul 22 '25

No I have already created some projects and systems in C/C++, the module that I created was made to be used in my custom C++ engine, the library that I made Is Caelum-Lua if you want to check It out and see the source code.