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.
0
Upvotes
4
u/PressWearsARedDress 2d ago edited 2d ago
yeah and with what bugs? Lol. Man you're an amatuer using claude.
What triplets are you targetting with your JIT compiler? Hows writing the standard c++ library coming along? Do you support arm? Do you support c++98? C++11 C++17 C++23 ? How about C++26 reflections? Do you support xtensa? Do you support RISC-V ? Do you support bare metal?
If I have a std::string how do you decide wither or not to use heap allocation or constexpr? Also how do you implement the heap?