Typed Python?

Nicolas Fleury nid_oizo at yahoo.com_removethe_
Mon Jul 5 01:50:13 CEST 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