Python vs. Lisp -- please explain

Kay Schluehr kay.schluehr at gmx.net
Wed Feb 22 08:28:31 EST 2006


Paul Rubin wrote:
> "Kay Schluehr" <kay.schluehr at gmx.net> writes:
> > I talked to Richard Emslie recently and he told me that the PyPy team
> > works on a mechanism to create CPython-extension modules written in
> > RPython i.e. a statically translateable subset of Python. So even
> > without dynamic code specialization there will be an optimization path
> > based on the PyPy toolchain that is amazing.
>
> Sounds great but is that a whole lot different from pyrex?

RPython is Python code not a different language. In a sense RPython
consists of a set of rules usual Python has to conform to make complete
type-inference feasible. Here is an overview of those rules.

http://codespeak.net/pypy/dist/pypy/doc/coding-guide.html#restricted-python

Kay




More information about the Python-list mailing list