On Feb 8, 8:03 am, "Kay Schluehr" <[EMAIL PROTECTED]> wrote:

> This code generation for an arbitrary backend sounds more like an
> appropriate task for PyPy. I think Grant's or anyone elses compiler
> could be a viable tool for augmenting the CPython interpreter in
> particular in the presence of optional type annotations in Py3K.

IMHO, with the presence of static types in Py3K, we should have a
static compiler that can be invoked dynamically, just like Common
Lisp.

Something like

def foo(...):
bar = static_compile(foo, optimize=2)
bar(...)

JIT compilers are hyped, static compilers perform much better. This
way the programmer can decide what needs to be compiled. This is the
reason why CMUCL can compete with most C compilers.











-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to