Settings

Theme

Article claims hand rolled C code can perform dot product faster than Numpy

medium.com

7 points by kuberlog 6 years ago · 5 comments

Reader

deckarep 6 years ago

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.

  • kuberlogOP 6 years ago

    Ya. The article seems plausible, but NumPy uses Blas/Lapack which can do parallel computation, so thats what is confusing about it to me.

tdeck 6 years 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

sova 6 years ago

Very neat idea. Seamless interplay between layers like that is nifty to think about.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection