Typed Python?

Nicolas Fleury nid_oizo at yahoo.com_removethe_
Sun Jul 4 19:50:13 EDT 2004


Fernando Perez wrote:
> I am one who would really like _optional_ static typing information to be
> available in python, but for different reasons than the usually requested here:
> performance.  My field is scientific computing, and when you are inside a
> simple for loop, manipulating arrays of homogeneous data, the overhead of
> python's dynamicism is a killer.  Obviously what ends up happening is that we

For performance, maybe Psyco is what you need, without the need fo 
static typing, but rather different compilation of code for different 
types, like with C++ templates.

Regards,
Nicolas



More information about the Python-list mailing list