News for hackers. Stuff that matters.
Re:Article claims hand rolled C code can perform dot product... by deckarep on Tuesday September 01, 2020 @05:45PM (#24347482)
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.

Re:Article claims hand rolled C code can perform dot product... by kuberlog on Tuesday September 01, 2020 @06:26PM (#24347846)
Ya. The article seems plausible, but NumPy uses Blas/Lapack which can do parallel computation, so thats what is confusing about it to me.
Re:Article claims hand rolled C code can perform dot product... by tdeck on Tuesday September 01, 2020 @06:13PM (#24347758)
> 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

Re:Article claims hand rolled C code can perform dot product... by kuberlog on Tuesday September 01, 2020 @06:24PM (#24347831)
Same. Which is why this confuses me.
Re:Article claims hand rolled C code can perform dot product... by sova on Tuesday September 01, 2020 @05:03PM (#24347035)
Very neat idea. Seamless interplay between layers like that is nifty to think about.