I am working on a project that heavily relies on many c++ objects that I created. In stead of compiling the codes every time when I use different objects, I am thinking using scripts that can instantiate c++ objects and call their functions without recompiling. What are the possible candidates? Thanks for the answer in advance.
Asked
Active
Viewed 218 times
1
-
it's offtopic, but lua is a popular option – Keith Nicholas Jul 07 '17 at 14:33
-
This does not sound like a good idea, but if you are on Windows, use COM. – Jul 07 '17 at 14:33
-
I am using linux, but from what I heard as well, lua works pretty well – CaptainSegFault Jul 07 '17 at 14:37
1 Answers
1
sol2 is a good C++ wrapper for Lua: it offers fast execution time and minimal dependencies.
An alterantive is ChaiScript, but it's not as fast as sol2.

Mr.C64
- 41,637
- 14
- 86
- 162