3 ms·
Stackless Python had something like that (and is able to serialize and later resume the program state preemptively!) - but no sandboxing there unfortunately htt
by 7373737373 2y ago
Stackless Python had something like that (and is able to serialize and later resume the program state preemptively!) - but no sandboxing there unfortunately https://stackless.readthedocs.io/en/2.7-slp/library/stackless/pickling.html https://stackless.readthedocs.io/en/2.7-slp/library/stackles...
afaik, one problem with assigning costs to Python opcodes is that they are overloaded, so they may have different true time/memory costs depending on their arguments (types)