Numba: NumPy-aware optimizing compiler for Python
github.com
github.com
The whole approach might be viable and it definitely has use cases, however the sensational headline makes it so bad :/ Hackernews - you let me down.
As you know, the basic idea of the project is to make writing fast, vectorized code for numerical and scientific computations as easy as writing native Python. And to do it in a way that maintains compatibility with the extensive CPython universe.
I think the criticism you're fishing for is that it is not an implementation of Python. No, it's not that. But, yes, it is a compiler.
http://technicaldiscovery.blogspot.com.es/2012/08/numba-and-...
As it is said there, it's still early software and its "road-map is being defined right now by the people involved in the project". Sure the subset is not well defined now and there are no docs, but hey - let's give the thing a few months.
Haven't tested thoroughly yet, but I think no NumPy calls can be made from inside a numba-compiled function - so this might be the case for other Python modules as well.
In the future, we want to support all Python, but not necessarily optimized --- just using the Python Object C-API.
Looks promising!
In any case, doing that wouldn't be difficult, you just wrap a Python interpreter and the Python code in a single executable and you're done. What would make it worthwhile is when it would be an optmizing compiler, which is of course difficult for such a dynamic language.
Or is it used automatically for all Python byte code? If so, can it be disabled?