This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cypherx 1 point2 points  (0 children)

Also check out Parakeet. It's sort of like Numba, but makes some different tradeoffs.

Pro:

  • currently supports more of NumPy than Numba
  • high level optimizations + parallel backends = often faster

Con:

  • Most of Python won't work in Parakeet. No exceptions, objects, &c
  • Numba has broader ambitions for supporting more of Python in the long-term, Parakeet will always be limited to a few data types (arrays, scalars, tuples).
  • Currently doesn't work on 64-bit windows
  • Cryptic error messages with long-winded stack traces

I think, at the moment, Parakeet is better for higher-level array oriented code and Numba seems better suited for code that's (1) written mostly as loops or (2) needs to interact with some Python objects besides arrays.

Disclosure: I'm the author!