64 points · by pash · 14y ago · 23 comments
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.
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?