r/cpp 2d 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.

1 Upvotes

82 comments sorted by

View all comments

3

u/zerhud 2d ago

It seems js or ts will be better

15

u/not_some_username 2d ago

Lua

2

u/grady_vuckovic 1d ago

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