pygae / clifford

Geometric Algebra for Python
http://clifford.rtfd.io
BSD 3-Clause "New" or "Revised" License
769 stars 72 forks source link

Allow running without numba installed? #208

Open eric-wieser opened 4 years ago

eric-wieser commented 4 years ago

It seems we can't run on pyiodide with numba around: https://github.com/pygae/clifford/issues/96#issuecomment-555491381

hugohadfield commented 4 years ago

I think we should allow running without numba installed It would put us in a much better way to do several things we cannot currently do (just some vague ideas):

Obviously, there are downsides:

Overall I would say that it is worth doing, especially if we can come up with a way of having numba running by default and the user can choose to disable it. It would also be worth doing packages of the numba-free setup to allow it to get pulled more easily where needed

eric-wieser commented 4 years ago

Some progress made using NUMBA_DISABLE_JIT, which at least lets us run without actually using LLVM, in #256.