Numba: A High Performance Python Compiler
numba.pydata.org
Numba: A High Performance Python Compiler
1–10 of 63 posts
Re: Numba: A High Performance Python Compiler
#2If I had to do it again I would just use plain numpy or use the JAX from Google if JIT is really necessary.
Re: Numba: A High Performance Python Compiler
#3Re: Numba: A High Performance Python Compiler
#4Software from our group (cij[1], qha[2]) were developed when numba seems to be the best option for JIT. It generates more pain in the hindsight. It generates a lot of depreciated warning due to unstable API, locked numpy to a certain version (i remember 1.21) due to compatibility issues, and when M1 Mac comes out, there were for a long time lack of llvmlite porting to the new platform, so cannot run on these new Macs…
Re: Numba: A High Performance Python Compiler
#5Re: Numba: A High Performance Python Compiler
#6Re: Numba: A High Performance Python Compiler
#7Re: Numba: A High Performance Python Compiler
#8I didn't think Pypy uses LLVM so I wonder who produced better code.
That said, they're targeted at different audiences. I feel Numba is targeted at data science and machine learning and even AI.
I feel a large portion of using or programming a computer is structural and not the actual work of adding numbers together. Very little of the code generated does the useful part a computer does: addition. The rest is control flow management and data placement! It's all preparation for the code to do an addition. The hard part is putting together the structure for the computer to do things that are useful.
So we invented methods, variables, classes, functions, closures, expressions to create that structure easier.
I thought about creating a language which tries to eliminate the structure that most programs accumulate and focus on the critical addition or calculation and let the computer do the arrangement. A JIT compiler for structure.
Re: Numba: A High Performance Python Compiler
#9Software from our group (cij[1], qha[2]) were developed when numba seems to be the best option for JIT. It generates more pain in the hindsight. It generates a lot of depreciated warning due to unstable API, locked numpy to a certain version (i remember 1.21) due to compatibility issues, and when M1 Mac comes out, there were for a long time lack of llvmlite porting to the new platform, so cannot run on these new Macs…
What if I'm (in Python) doing non-numerical stuff like parsing text and generating code? What JIT / AOT tooling (if any) is suitable?
Re: Numba: A High Performance Python Compiler
#10Software from our group (cij[1], qha[2]) were developed when numba seems to be the best option for JIT. It generates more pain in the hindsight. It generates a lot of depreciated warning due to unstable API, locked numpy to a certain version (i remember 1.21) due to compatibility issues, and when M1 Mac comes out, there were for a long time lack of llvmlite porting to the new platform, so cannot run on these new Macs…
What if I'm (in Python) doing non-numerical stuff like parsing text and generating code? What JIT / AOT tooling (if any) is suitable?