Normally, by vectorizing things, the performance hit of using python is very low. Your use-case is therefore I think uncommon, and likely to be weakly supported IMHO. For sections of your own code with tight inner-loops, and which arent obviously vectorizable (topic model comes to mind, as something that is hard to parallelize), could Cython help?