[pypy-dev] Running untrusted code in pypy
vinjvinj at yahoo.com
Mon Feb 19 17:47:04 CET 2007
PyPy does not (currently) aim at offering cpu/mem
> restrictions, but you could use virtual hosts (XEN
> for that, both offer such restriction settings.
> may help with the Taint Object Space:
Unfortunately, for my use cases, using virtual hosts
will not work. All the user models work on time series
price data. This data can get very large and has to be
shared by all user models. It is not practical for
each vmware client to have its own copy of user data.
With lua, I'm able to share this time series with all
user models and still ensure that all the models are
obviously all depends a bit on concrete use cases
> and intentions).
Among many things, will I be able to restrict the user
1. a = *10000000000000000000000000
2. a = 23**3294832098980989898
3. disable recursive calls
4. writing while loops which never end
I'm trying to get a feel for whether this kind of
thing would be (in the future) possible with pypy.
With cPython, I've been told that it is just not going
to be possible. Which is why, I moved to lua for user
models. I would much rather use python so that I don't
have to maintain the python-lua bridge.
Michael and Christian are going to be there,
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
More information about the Pypy-dev