3 ms·
Here's the doc page that lists the supported language features: http://pythonhosted.org/hope/lang.html http://pythonhosted.org/hope/lang.html Compared to numba
by shoyer 12y ago
Here's the doc page that lists the supported language features: http://pythonhosted.org/hope/lang.html http://pythonhosted.org/hope/lang.html
Compared to numba, it looks like hope adds: (1) support for recursion, (2) automatic simplification of expressions using SymPy and (3) support for arithmetic with array broadcasting (e.g., as used in their Point Spread Function benchmark).
- Fede_V 12y agoThanks, exactly what I was looking for.
- travisoliphant 12y agoInteresting post. It seems that everyone wants to write their own jit rather than cooperate with the on-going open source efforts. 1) Support for recursion is in a PR for Numba that has just not yet been merged. 2) optional simplification of expressions using SymPy has been contemplated and is easy to add, though it's not clear if it's the interface people will want as it slows down compilation. 3) Numba has support for some array broadcasting via vectorize and is getting more in the coming 6 months. A C++ target for Numba would also be of interest if anyone wants to participate in the development. Numba 0.15.1 was just released this week: https://github.com/numba/numba/tree/0.15.1 https://github.com/numba/numba/tree/0.15.1 http://numba.pydata.org http://numba.pydata.org conda install numba
- shoyer 12y agoTotally agreed, I am much more excited about Numba right now. Numba has some really nice tricks up its sleeve -- I especially like the ability to easily write (g)ufuncs. There are a lot of edge cases to nail down for these JIT compilers. Everyone writing their own is likely to end up with none of them being useful for end users.