News for hackers. Stuff that matters.
Re:Python’s Multiprocessing Performance Problem by bb88 on Wednesday March 01, 2023 @09:31PM (#34991179)
Someone once said that python + numpy is probably going to be faster than writing it using basic C++, since numpy is using highly tuned libraries underneath.

I don't know for certain this is the case, but I'd like to see some benchmarks about it.

Re:Python’s Multiprocessing Performance Problem by kelipso on Thursday March 02, 2023 @10:09AM (#34996570)
You would almost never use raw C++ when working with linear algebra stuff. You use a library like Eigen that interfaces with BLAS, LAPACK, etc., so you definitely get all the advantages of those highly tuned libraries, plus the speed of C++ and potential flexibility of not having to make multiple array copies and so on.
Re:Python’s Multiprocessing Performance Problem by cozzyd on Thursday March 02, 2023 @12:24PM (#34998733)
Right, but you can use those highly tuned libraries yourself.

I do kind of wish numpy had a stable C API that didn't require a Python interpreter though.