|
|
|
|
|
by fxtentacle
2141 days ago
|
|
Based on your comment, I would guess that you never tried out numba. Of course, it can also do general python and loop optimizations. And in my experience, numba worked for every case where I couldn't get pypy to work. And I stand by my opinion that that is something that the pypy developers should consider: is this actually usable as a solution to practical problems? Or is there something else that people use instead? If so, why? Analyzing your competition is usually a good way to learn about your own strengths and weaknesses. |
|
Well, you guessed wrong.
> it can also do general python and loop optimizations.
Yes, it can be used in general purpose workloads, with varying degrees of success. But its main purpose is made abundantly clear:
Accelerate Python Functions
Numba translates Python functions to optimized machine code at runtime using the industry-standard LLVM compiler library. Numba-compiled __numerical algorithms__ in Python can approach the speeds of C or FORTRAN.
Built for Scientific Computing
...
https://numba.pydata.org/
> ... Analyzing your competition is usually a good way to learn about your own strengths and weaknesses.
Except this is an announcement on their funding situation, so strengths and weaknesses are completely irrelevant, unless Numba has a particularly interesting funding model. (The funding model is government grants and corporate sponsorship, so, not particularly interesting.)