3 ms·
> If you're using multiprocessing pools so often that you think you need a decorator to clean up your code, then wow, I'd like to see what you're up to. ;) ..
by m_mueller 10y ago
> If you're using multiprocessing pools so often that you think you need a decorator to clean up your code, then wow, I'd like to see what you're up to. ;)
.. and I think once you do that in Python you should probably use NumPy.
I've been thinking that there should be a way to just program kernels in Modern Fortran because it's the easiest to interact with NumPy data structures (NumPy is nothing but glue code around a collection of very efficient Fortran numeric code). f2py [1] is doing that basically, but I've never had the chance to setup a project like this.
[1] http://docs.scipy.org/doc/numpy-1.10.1/user/c-info.python-as-glue.html http://docs.scipy.org/doc/numpy-1.10.1/user/c-info.python-as...