News for hackers. Stuff that matters.
Re:Numba: High-Performance Python with CUDA Acceleration by 451mov on Thursday September 21, 2017 @06:53AM (#15302157)
definitely a lot faster than pandas!

question: how do you debug a function which has a super complex decorator slapped on top of it?

Re:Numba: High-Performance Python with CUDA Acceleration by dagw on Thursday September 21, 2017 @06:58AM (#15302183)
question: how do you debug a function which has a super complex decorator slapped on top of it?

With difficulty. If you find yourself in a situation where you have a function that works without the numba decorator, but fails with it then it's time to break out your llvm reading skills: http://numba.pydata.org/numba-doc/0.10/annotate.html

That being said it is very rare that that happens.

Re:Numba: High-Performance Python with CUDA Acceleration by marmaduke on Thursday September 21, 2017 @10:02AM (#15303469)
You can just remove the decorator?
Re:Numba: High-Performance Python with CUDA Acceleration by glup on Thursday September 21, 2017 @12:29PM (#15305091)
No, because certain things are fine in an interpreted function that will fail to compile, and throw totally uninformative errors. E.g., one time I spent about 3 hours trying to figure out why a relatively simple, perfectly functional Numpy function, limited to the subset of Numba primitives wouldn't compile. A labmate with actual knowledge of C looked at the code and in about 30 seconds suggested it might be having two return statements; she was of course correct that this was the problem. Doh.
Re:Numba: High-Performance Python with CUDA Acceleration by marmaduke on Saturday September 23, 2017 @02:26AM (#15318447)
Ok but generally it is possible to debug by omitting the decorator.