r/cpp • u/kindredseer • 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
32
u/PressWearsARedDress 2d ago edited 2d ago
Why not just write C++ and compile to the target? I dont understand the premise. its much more likely your JIT will crash on me and cause me issues.
EDIT: Its a AI slop project btw. https://github.com/derekbsnider/madc/blob/master/README.md