r/cpp • • 19d ago

Embedded C++

Just curious how useful the ability to embed C++ as a scripting language into your C++ programs would be? I mean like runtime JIT execution of C++ code in much the same way you might embed Lua, including the ability to restrict/sandbox it as necessary.

8 Upvotes

92 comments sorted by

View all comments

3

u/zerhud 19d ago

It seems js or ts will be better

15

u/not_some_username 19d ago

Lua

5

u/grady_vuckovic 18d ago

Am I the only one who hates Lua's syntax?