Simple Python Sandbox

Stephen Hansen me+list/python at ixokai.io
Sat Aug 14 22:48:14 EDT 2010


On 8/14/10 2:25 PM, Cameron Simpson wrote:
> Ok, what about this: run the untrusted code in a separate process,
> if necessary running as a user with different privileges.

Way too much overhead by a really significant margin: I need to do many,
many, many, many, many very short (often very *very* short) little
scripts. Doing IPC to separate processes, even if they're long-running,
and handling proxying of my objects that these scripts need to read from
and tweak in certain ways, would just kill performance.

I really do need an embedded language -- and a very restricted subset of
Python is really ideal for that, which is why I'm going for this. :)

-- 

   Stephen Hansen
   ... Also: Ixokai
   ... Mail: me+list/python (AT) ixokai (DOT) io
   ... Blog: http://meh.ixokai.io/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20100814/0cd963a2/attachment-0001.sig>


More information about the Python-list mailing list