Typed Python?

Christopher T King squirrel at WPI.EDU
Tue Jul 6 22:23:01 CEST 2004

On 4 Jul 2004 beliavsky at aol.com wrote:

> Thomas Reichelt <XXNOSPAMXX at gibts.net> wrote in message news:<2kn746F4ci1vU1 at uni-berlin.de>...
> > short question: is there any language combining the syntax, flexibility and
> > great programming experience of Python with static typing? Is there a
> > project to add static typing to Python?
> If you are using Python mainly for numerical work and use Numeric or
> Numarray for array operations, Fortran 90 or 95 may be the closest

Indeed, Numeric/numarray give you all the performance benefits of using a 
statically-typed language without using static types. Because they must 
only check the data type once for each vector operation they perform, the 
time spent doing this is neglible compared to the actual computation time. 
If you are doing vector-based numerical work, these will be better than 
nearly any other solution available.

More information about the Python-list mailing list