Complementary language?

beliavsky at aol.com beliavsky at aol.com
Sun Dec 26 14:11:40 CET 2004


Robert Kern wrote:
>If you do numeric calculations, learning just enough FORTRAN to do
loops
>and math can be quite useful. I find that F2PY makes writing FORTRAN
>subroutines for numerical calculations over Numeric arrays much easier

>than C.

I agree with this and would add that Fortran, from the 1990 standard
onwards, is one of the few compiled languages that support both array
operations and multidimensional array slices, like the Python Numeric
and Numarray modules (and lists for 1-D arrays). There is a free
Fortran 95 compiler called g95 at http://www.g95.org .

In some ways, the syntax of Python is closer to free format Fortran
than C.

Maybe the message
http://groups-beta.google.com/group/comp.lang.python/msg/5de999e28ead0dd9
I wrote with comparative statistics on some programming languages could
be informative.




More information about the Python-list mailing list