Feb. 10, 2012
9:51 a.m.
09.02.12 20:57, Sturla Molden написав(ла):
Yes or no... Python is used for parallel computing on the biggest supercomputers, monsters like Cray and IBM blue genes with tens of thousands of CPUs. But what really fails to scale is the Python module loader! For example it can take hours to "import numpy" for 30,000 Python processes on a blue gene. And yes, nobody would consider to use Java for such systems, even though Java does not have a GIL (well, theads do no matter that much on a cluster with distributed memory anyway). It is Python, C and Fortran that are popular. But that really disproves that Python sucks for big concurrency, except perhaps for the module loader.
What about os.fork()?