[Python-ideas] Summer of Code Project Idea: Python Apps in the Browser
fuzzyman at gmail.com
Fri Aug 26 03:11:13 CEST 2011
On 25 August 2011 23:45, Raymond Hettinger <raymond.hettinger at gmail.com>wrote:
> The http://gumbyapp.com/ <http://t.co/mPKzyp1> project succeeded in
> getting Python to run in the browser but it can't import pure python modules
> (because there is no filesystem in the browser).
> I think it would be wonderful to beef-up this project by bundling-in the
> rest of the standard library. Gumby was built by compiling CPython to LLVM
> to transform pure python standard library modules into C strings that could
> also be part of the final build. The import-statement would have to be
> hooked to search for the C string instead of a physical file.
> If that technique works, it may not be hard to extend it so that user
> defined python modules could also be incorporated. If so, it would become
> possible to create standalone Python apps that run in the browser. The
> process is likely to be inefficient, but the gumbyapp site shows that it
> might be good enough for some purposes.
complete it is but I saw some impressive demos a while ago):
I've no idea how skulpt handles imports (or even if it does).
Pyjamas translates dependencies too, but I guess it can't do dynamic
Plus IronPython runs in the Silverlight runtime. Probably of less interest
to this crowd though. :-)
All the best,
> Python-ideas mailing list
> Python-ideas at python.org
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas