On Saturday 16 January 2010 08:01 AM, Nobody wrote:
On Fri, 15 Jan 2010 12:34:17 -0800, John Nagle wrote:Actually, no. It's quite possible to make a Python implementation that runs fast. It's just that CPython, a naive interpreter, is too primitive to do it. I was really hoping that Google would put somebody good at compilers in charge of Python and bring it up to production speed. "production"?
Look at Shed Skin, a hard-code compiler for PythonA hard-code compiler for the subset of Python which can easily be compiled. Shed Skin has so many restrictions that it isn't really accurate to describe the language which it supports as "Python". +1
Hardly any real-world Python code can be compiled with Shed Skin. Some of it could be changed without too much effort, although most of that is the kind of code which wouldn't look any different if it was implemented in C++ or Java.
Happy hacking. Krishnakant. -- http://mail.python.org/mailman/listinfo/python-list
