5 ms·
Article claims hand rolled C code can perform dot product faster than Numpy
- sova 6y agoVery neat idea. Seamless interplay between layers like that is nifty to think about.
- deckarep 6y agoI 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.
- kuberlog 6y agoYa. The article seems plausible, but NumPy uses Blas/Lapack which can do parallel computation, so thats what is confusing about it to me.
- tdeck 6y ago> 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 https://en.wikipedia.org/wiki/LAPACK?wprov=sfla1
- kuberlog 6y agoSame. Which is why this confuses me.