[Python-Dev] CPython in the web browser under Native Client

Guido van Rossum guido at python.org
Mon Jun 15 01:04:21 CEST 2009


Wow. I'm impressed.

On Sun, Jun 14, 2009 at 9:09 AM, Mark Seaborn<mrs at mythic-beasts.com> wrote:
> I have been doing some work to extend Google's Native Client [1] to
> support dynamic linking [2].  For those who haven't heard of it,
> Native Client is a sandboxing system for running a subset of x86 code.
> It is proposed as a way of running native code inside web apps.
>
> One of my aims has been to get CPython working in the web browser
> under Native Client without having to modify CPython.
>
> I recently got to the point where modules from the Python standard
> library are importable under Native Client, including (as a
> demonstration) the Sqlite extension module.  Sqlite also requires no
> modification - it builds straight from the Debian package.
>
> I've written a simple REPL to demonstrate Python running in the
> browser.  There are some screenshots on my blog [3].  I haven't
> implemented accessing the DOM from Python yet - that's another project
> for later. :-)
>
> Mark
>
> [1] http://code.google.com/p/nativeclient/
> [2] http://plash.beasts.org/wiki/NativeClient
> [3] http://lackingrhoticity.blogspot.com/2009/06/python-standard-library-in-native.html
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>



-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list