Compile Python (was Re: Copy constructors)
Edward C. Jones
edcjones at erols.com
Mon Aug 13 08:30:05 EDT 2001
Guido van Rossum wrote:
> ...
> I guess I have a bit of a hidden agenda: Python is more dynamic than
> the language I *wanted* to design. Some of the dynamicism was simply
> a implementation trick. Some of the dynamicism is getting in the way
> of optimizing code, because the optimizer can never prove that certain
> variables won't be changed. So I'm trying to look for ways that pin
> down things a bit more. I'm making assumptions about how "typical"
> Python code uses the dynamic features, and I'm slowly trying to
> introduce restrictions in the language that make the optimizer's life
> easier without affecting "typical" code.
> ...
I hope you are evolving Python into a language that can be compiled into
good, fast, native object code. Then maybe I can abandon C, C++, SWIG,
and the Python API. Life would be much easier.
Ed Jones
More information about the Python-list
mailing list