Giovanni Bajo wrote: > On 05/05/2007 15.29, tomer filiba wrote: > >> however, running a threaded python script over an 8-core >> machine, where you can utilize at most 12.5% of the horsepower, >> seems like too large a sacrifice to me. > > You seem to believe that the only way to parallelize your programs is to use > threads. IMHO, threads is just the most common and absolutely the worst, > under > many points of views.
I think it's a case of wanting the most general mechanism for doing parallel computation. Any algorithm that can be efficiently parallelized using processes can also be done with threads (assuming that the infrastructure for threading is there), but the converse is not true. -- Talin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
