2 ms·
Well, people have found success embedding Lua or JavaScript, since they're easier to sandbox than Python. Now, Python extensions can be a bit hard to get right
by partycoder 10y ago
Well, people have found success embedding Lua or JavaScript, since they're easier to sandbox than Python.
Now, Python extensions can be a bit hard to get right. Especially since Python has a specific threading model and if you are trying to wrap an existing C++ code base that is multithreaded in Python... it can be challenging.
Anyways, best of luck with your quest.
- bogomipz 10y agoCan you elaborate on why those are easier to sandbox than Python?
- partycoder 10y agoPython offers a standard library with many, many functionalities. You can start processes, do networking, manipulate files, etc. You might not necessarily want to give your scripting environment those facilities.