Optional Static Typing

Nick Coghlan ncoghlan at iinet.net.au
Fri Dec 24 16:03:07 CET 2004


Mike Meyer wrote:
> Which raises what, to me, is the central question. If we have optional
> static typing, can I get a performance enhancement out of it? If not,
> why bother?

I had some thoughts along the same lines, so I dug up PEP 246 and looked at how 
it could be enhanced to potentially support compile time code optimisation 
through static type declarations.

The write up is here:
http://boredomandlaziness.skystorm.net/2004/12/type-checking-in-python.html

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list