Re-Hi, On Tue, Feb 14, 2012 at 13:13, Armin Rigo <ar...@tunes.org> wrote: > For this reason, I remain convinced that the best approach for Cython > on PyPy is instead to have Cython generate pure Python code that would > use some API in the form of a built-in Python module.
For what it's worth, it would work if the Cython sources (or even the C intermediate sources) were "compiled" into any custom bytecode, not necessarily Python's. We would then write a simple interpreter for it in RPython, which looks kind of easy. It may seem strange, but it's actually similar to regular expressions. As a rather extreme solution: I wonder how useful it would be to use gcc to cross-compile the C intermediate sources to MIPS assembler, and write a MIPS interpreter in RPython... (MIPS because it's apparently a very simple instruction set) A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev