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...


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to