[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Embedded scripting language (again)

From: Bradley Arsenault
Subject: Re: [glob2-devel] Embedded scripting language (again)
Date: Sat, 25 Feb 2006 08:42:28 -0800

On 2/23/06, Matthew Marshall <address@hidden> wrote:
> On Tue 21 Feb 2006 21:10, Bradley Arsenault wrote:
> >     1) A full, version and operating system portable vm dump, if desired
> IMHO, a far better solution would be to use Stackless Python[1]... a python
> implementation that doesn't use the C stack.  It supports microthreads[2],
> along with serializing them in the middle of execution[3].  (This is really
> all we need.)
> One thing to note is that stackless does not yet support python2.4.  However,
> this is planned for a PyCon sprint[4].
> >   Cons:
> >     1) Is a large dependancy
> In the case of stackless, it would be worth considering including it in the
> distribution, especially as it doesn't have a release.  This is how Blender
> and (I assume) EVE Online[5] do it.  (Although, Blender uses standard
> CPython.)  This would also allow cutting out unneeded modules.  (Who needs to
> decode MIME email headers in a map script???)
> >     2) Can allow a hacker access to the underlieing system if he/she
> > is experienced enough and willing to work around all inplace security
> > features (python does have them)
> It might be better to say that python _had_ them.  The restricted execution
> framework was disabled in python2.3[6].
> Perhaps omitting the 'os' and 'sys' modules and the 'file' type would be all
> that is necessary.  At any rate, Blender had a _browser pluggin_ that would
> execute python code, so it's not like glob2 would be the first.
> I think that from a technical standpoint, python would work.  The question I
> see now is, "is it overkill?"  Although I would love to use my favorite
> language in my favorite computer game, Lua or Tea might work just as well,
> with far less overhead ... so ... I guess I'm not being much help here :D
> [1]
> [2]
> [3]
> [4]
> [5]
> [6]
> _______________________________________________
> glob2-devel mailing list
> address@hidden

Hehe Mathew knows python far better than i do. But you have to give me
credit for first suggesting it!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]