[Python-Dev] python compiler
Reid Kleckner
rnk at mit.edu
Mon Apr 5 17:25:36 CEST 2010
On Mon, Apr 5, 2010 at 11:11 AM, Michael Foord
<fuzzyman at voidspace.org.uk> wrote:
> Python itself is a highly dynamic language and not amenable to direct
> compilation. Instead modern just-in-time compiler technology is seen as the
> way to improve Python performance. Projects that are doing this are PyPy and
> Unladen Swallow. A static subset of Python can be statically compiled,
> projects that do that include RPython (part of PyPy) and ShedSkin. These are
> not really Python though, just Python like languages that happen to be valid
> subsets of Python.
I agree. However, if you're doing it as a fun final project and don't
care about performance and don't mind generating slow code, then go
for it. You'd also want to cut a bunch of corners like exec and eval.
Reid
More information about the Python-Dev
mailing list