Hacker News new | ask | show | jobs
by joshvm 3715 days ago
I was under the impression that Numpy also just calls BLAS underneath? Hence why doing element-wise calls in Numpy is far, far faster than simply doing nested for loops.

But I think this is the great strength of Python. It's a glue language. If you need speed, you can always write a wrapper around a C/C++ library.

1 comments

Funny you should say C/C++, because BLAS is Fortran.
Actually, it's mostly assembly (depending on the particular implementation). Lapack is Fortran though.