Hacker News new | ask | show | jobs
Article claims hand rolled C code can perform dot product faster than Numpy (medium.com)
7 points by kuberlog 2113 days ago
3 comments

I don’t know how the inner-workings of NumPy work...but this article seems quite plausible because it’s making use of parallel computation in order to achieve a faster result.

The title just seems to imply skepticism over what looks to be a legit approach.

Ya. The article seems plausible, but NumPy uses Blas/Lapack which can do parallel computation, so thats what is confusing about it to me.
> Have you ever wondered how does NumPy perform its complex computations so fast? The secret is that it uses lower level programming language — C.

I thought NumPy used the LAPACK libraries at its core, which are written in Fortran:

https://en.wikipedia.org/wiki/LAPACK?wprov=sfla1

Same. Which is why this confuses me.
Very neat idea. Seamless interplay between layers like that is nifty to think about.