3 ms·
> I think pretty much all linear algebra libraries are still Fortran and are unlikely to ever be C That is more of an urban legend than reality in 2024. Fact i
by Galanwe 2y ago
> I think pretty much all linear algebra libraries are still Fortran and are unlikely to ever be C
That is more of an urban legend than reality in 2024. Fact is, although the original BLAS implementation was fortran, it has been at least a decade since every Linux distribution ships either OpenBLAS or ATLAS or the MKL, which are both written in a mix of C and assembly. All modern processor support is only available in these implementations.
LAPACK itself is still often built from the Fortran code base, but it's just glue over BLAS, and it gets performance solely from its underlying BLAS. Fortran doesn't bring any value to LAPACK, it's just that rewriting millions of algebraic tricks and heuristics for no performance gain is not enticing.
- deleted 2y ago[deleted]