Is Fortran still considerably faster than Numpy?
Is Fortran still considerably faster than Numpy?
Both use BLAS from OpenBLAS library externally, that is mostly Assembly/C for BLAS.
NumPy use a flavor of LAPACK that is called LAPACK Lite, written in C, SciPy vendors LAPACK that comes with OpenBLAS if you are pip installing, or if you are using conda, it comes with MKL library from Intel.
Right now, I am converting some numpy code to rust for exactly this sort of speed advantage. I barely know any rust, and don't know the first thing about writing optimized rust code, but I am already getting constant factor improvements.
So, as long as most of the work is in the C or Fortran library, it should be about the same.
They asked if Fortran was faster than Numpy, not if it was faster than Python.