LWN.net Logo

Van Rossum: Python is not too slow (InfoWorld)

Van Rossum: Python is not too slow (InfoWorld)

Posted Mar 17, 2012 8:33 UTC (Sat) by ferringb (subscriber, #20752)
In reply to: Van Rossum: Python is not too slow (InfoWorld) by arjan
Parent article: Van Rossum: Python is not too slow (InfoWorld)

The question there is more if you're dealing in python objects; if so, then you need the GIL. If not, dropping the gil is easy/peasy and most cpy extensions do that (particularly around syscall blocks).

If you're doing strictly native python, then chunking it into processes is the usual route- can be annoying at times, but the forced separation also does wonders for crappy/entangled code bases....

That said, I don't quite see your notion of hardware transactional memory here beyond possibly liking buzzwords ;)


(Log in to post comments)

Van Rossum: Python is not too slow (InfoWorld)

Posted Mar 17, 2012 14:48 UTC (Sat) by arjan (subscriber, #36785) [Link]

HTM allows you to run "locked" sections in parallel as long as you don't have actual data conflicts

it's basically a way to make a lock scale in that sense.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds