Re:Numba: A High Performance Python Compiler
by chestertn on Tuesday December 27, 2022 @10:49AM
(#34149643)
I will save you the pain: switch to Julia.
[ Parent
| on HN ]
Re:Numba: A High Performance Python Compiler
by m_c_g on Tuesday December 27, 2022 @10:59AM
(#34149772)
Indeed! Converting one's entire code base to a different language ecosystem, finding equivalents to each of your third-party dependencies, is less painful than employing a library to selectively compile a few performance bottlenecks in your code.
(Modules like PyJulia facilitate a more incremental approach.)
Re:Numba: A High Performance Python Compiler
by Alifatisk on Tuesday December 27, 2022 @01:52PM
(#34152223)
/s
Re:Numba: A High Performance Python Compiler
by xigoi on Tuesday December 27, 2022 @05:43PM
(#34154850)
That's why you should switch before creating the codebase in the first place.
Re:Numba: A High Performance Python Compiler
by rg111 on Thursday January 05, 2023 @08:04AM
(#34259060)
I don't recommend Julia for anything critical to production.
Re:Numba: A High Performance Python Compiler
by ChrisRackauckas on Thursday January 05, 2023 @10:20AM
(#34260836)
I would. It's much safer than Python which has a package ecosystem that is known to be critically unsafe. https://pytorch.org/blog/compromised-nightly-dependency/ is just the latest example of security issues it's been having, https://moyix.blogspot.com/2022/09/someones-been-messing-wit... is general numerical incorrectness which is non-local and cannot be turned off, and that's not even getting to the specific inaccuracies of Numba. I'd switch away from a numerically incorrect security issue today!