[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] people hating python for game dev.




On May 17, 2006, at 4:48 AM, andrew baker wrote:

Python and Pygame are excellent for developing, but there are very few commercial games currently that use sprite and tile graphics compared to those who are using 3D engines. Pygame is mainly for the former, so that may explain a lot of reticence.

But Python is actually one of the better "scripting" languages out there. Unlike Lua, it's main problem is that it is too powerful and introspective, so it makes it difficult to sandbox (e.g., if you're going to allow user-mods, it is more difficult to ensure against malicious code).

It's simply not possible to sandbox arbitrary CPython code. Don't try, it's a dead end. The best you can do is start another process and communicate with it via a socket or something and try and use whatever means the OS has for process level protection.


-bob