Is Unladen Swallow dead?

Stefan Behnel stefan_ml at behnel.de
Sat Nov 20 15:02:47 EST 2010


Mark Wooding, 19.11.2010 02:35:
> John Nagle writes:
>>       This has been pointed out many times by many people.  There's
>> even a PhD thesis on the topic.  Without a few restrictions, so
>> that a compiler can at least tell when support for the hard cases
>> is needed, Python cannot be compiled well.
>
> This assumes static compilation.  It's the wrong approach for a dynamic
> language like Python.

Cython does a pretty good job in that, though. It also optimistically 
optimises a couple of things even during static compilation, e.g. 
"x.append(y)" likely hints on "x" being a list, even if static analysis 
can't prove that.

Stefan




More information about the Python-list mailing list