[pypy-dev] LLVM - did we know this?

Armin Rigo arigo at tunes.org
Tue Oct 28 14:31:16 CET 2003


Hello Christian,

On Tue, Oct 28, 2003 at 12:40:20PM +0100, Christian Tismer wrote:
> Richard Emslie just pushed my nose into something
> interesting. I don't remember, did we talk about
> this before?

Not that I know of. This looks very interesting, indeed. Their low-level 
instruction set is at precisely the same level as our control flow graphs. It 
looks like the ideal target. I don't know how good their compilers already 
are, but we should definitely try to emit LLVM code in addition to C. And of 
course LLVM would be really better than C for runtime code generation.

Writing PowerPC code generators for LLVM might be a good way to support
Psyco-style optimizations for PyPy (and maybe even getting paid by the
University of Illinois or its sponsors to do so :-)


Armin



More information about the Pypy-dev mailing list