I just saw this on slashdot: http://repl.it/

It uses Emscripten, an LLVM-to-Javascript compiler to compile CPython to javascript, so the python code runs entirely in the web browser. As another example of this, see http://syntensity.com/static/python.html.

"Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode (which can be generated from C/C++, using llvm-gcc or clang, or any other language that can be converted into LLVM) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run)." (https://github.com/kripken/emscripten/wiki)

Anyways, I thought it was cool that we can have CPython in the browser. Apparently many of the modules won't work, but the core language should work okay.

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to