Version 6 of Psyco

Updated 2006-12-10 14:10:41

Python Specializing Compiler. See Scripted Compiler for additional context of this page.


DavidAscher: The Scripted Compiler ... is not unlike what Armin Rigo talked about at OSCON 2002 - see [...] his home page for Psyco. In his talk, he particularly emphasized that rewriting most of the Python C internals in Python would, when run through the Psyco compiler, actually run faster than the current C implementation. Ideas worth sharing.

AK: Psyco seems to be a mix of generic translation to machine code + specialization of said machine code to concrete values in variables and function parameters.

Peter Odding[L1 ]: Generic translation to machine code + specialization = a JIT compiler? LuaJIT[L2 ] does this aswell. Very nice indeed. Especially because JIT-compilers can (in theory) result in faster execution than static compilers.

(Sorry for spamming the revisions-log, I tried my own links and the LuaJIT-link doesn't work at the moment. It seems IIS is not happy with the referrer-field. Copy & pasting the address works though. What the? Remove this drivel when it works!)