[Python-ideas] Summer of Code Project Idea: Python Apps in the Browser

Nick Coghlan ncoghlan at gmail.com
Fri Aug 26 04:28:18 CEST 2011


On Fri, Aug 26, 2011 at 11:11 AM, Michael Foord <fuzzyman at gmail.com> wrote:
> Plus IronPython runs in the Silverlight runtime. Probably of less interest
> to this crowd though. :-)

In the talk at PyConAU that mentioned gumbyapp [1], trypython was the
first version Tim showed. Gumbyapp was his follow-up for the cases
where Silverlight wasn't an option (or ran too slowly). Although it
turns out many browsers aren't happy about being sent 2.8 MB JSON
objects, either :)

It's actually a really cool talk (and my personal favourite of the
whole weekend at PyConAU) about how the National Computer Science
School run by the University of Sydney uses OS level sandboxing to
permit safe execution of arbitrary Python code on the NCSS servers
(alas, UoS has not made the code backing the site open source at this
point in time and Tim wasn't sure if or when that would happen).

To add another possible mechanism into the mix, freezing modules may
be another way to get them into the LLVM bytecode. Dynamic import
mechanisms are hard, since you run into bootstrapping issues (cf.
Brett's hassles with making importlib the underlying implementation of
the __import__ builtin).

[1] http://www.youtube.com/watch?v=y-WPPdhTKBU&feature=channel_video_title

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list