3 ms·
Also note that the code at the core of packages like numpy is often still written in Fortran or C. For example, I'm pretty sure all the linear algebra processin
by ajdecon 17y ago
Also note that the code at the core of packages like numpy is often still written in Fortran or C. For example, I'm pretty sure all the linear algebra processing in numpy is handled by the popular LAPACK written in Fortran. Note that software like Matlab and IDL also generally uses these well-understood packages.
Fortran isn't going anywhere, we're just hiding it in the background.
- gaius 17y agoEveryone uses LAPACK. If you came along with your own versions of those routines, no-one would would trust them. LAPACK et al are the most optimized, most debugged code on the planet. Hardware vendors design around LAPACK. It's incredibly important. Also check out Sage: http://www.sagemath.org/ http://www.sagemath.org/
- adw 17y agoYep. The Intel F9x compiler smokes everything - at least in part because its versions of LAPACK/BLAS/ATLAS are so aggressively optimized.
- aeroevan 17y agoAlso, f2py (distributed with numpy) makes it easy to wrap fortran subroutines in python.