
Hi Anatoly, On Mon, Dec 24, 2012 at 9:35 AM, anatoly techtonik <techtonik@gmail.com> wrote:
But it is still confusing, because the RPython doesn't include generators,
I see your point --- but RPython does include generators nowadays. It does not include tons of other things though.
which means Python implementation is still written in subset of Python and not using the real full fat Python.
RPython is Python with restrictions about the allowed runtime behavior (but not the import-time behavior). The Python implementation of PyPy is written in RPython, yes.
I looks like the documentation is missing one more important aspect - RPython toolchain can be used to compile standalone programs written in RPython (which is why I've finally got to it at the moment).
That is theoretically correct but not mentioned on purpose. We don't support this. RPython is not meant as a general-purpose programming language, and it doesn't support a lot of things that would make it more convenient for that purpose. If you are using RPython because of performance issues only, PyPy has a good JIT nowadays which can get full Python close. If you are using RPython because you don't like dynamic languages, then pick Java or .NET instead. A bientôt, Armin.