[Tutor] Jython for mutlithreading and on multicore system

Alan Gauld alan.gauld at btinternet.com
Mon Oct 17 19:03:35 CEST 2011


On 17/10/11 17:13, Ashish Gaonker wrote:
> Does Jython improve GIL issues of python by using JVM based threads?
> Will code work faster on Jython then CPython? Can anybody help me to
> understand this?

Speaking personally I've always fond CPython to be faster than 
equivalent code in Jython. But that's purely anecdotal, I haven't 
performed any extensive tests. However, I'd certainly not be rushing
to port code to Jython as a speed improvement - Cython now, that's a 
different story...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list