The Future of Python Threading

Seun Osewa seun.osewa at gmail.com
Wed Aug 22 20:58:53 EDT 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).
>
> --
> Ant...





More information about the Python-list mailing list