The Future of Python Threading
seun.osewa at gmail.com
Thu Aug 23 02:58:53 CEST 2007
Yes, but if you reduce the coupling between threads in Java (by using
the recommended Python approach of communicating with Queues) you get
the full speed of all the cores in your CPU. i wonder why we can't
have this in Java; it will be very good for servers!
> As for Java, making code thread safe *does* slow down the code. It is
> the very reason that the language designers made the collections API
> non-thread safe by default (you have to wrap the standard collections
> in a synchronised wrapper to make them thread safe).
More information about the Python-list