Thermal Noise

Icon

The Adventures Of A Unix Programmer

Guido on the GIL

Juergen Brendel who commented on my post, about the Global Interpreter Lock, wrote a open letter pleading Guido to consider removing the GIL. Guido gave a seasoned response on his blog today – Anyone willing to do the hard work is free to submit a patch for Py3K AND prove that it does not affect single threaded performance. A fair call on Guido’s part and very generous of him to respond to yet-another-rant-about-the-GIL.

The Gods of Python sound highly pessimistic about the possibility of a GIL-less CPython in the near future. But I am deciding to continue with Python and for code where I am forced to use threads, I will have to switch to writing extension modules in C. In this sense, writing high performance threaded code in Python is really not as easy as writing it in Java. Forget high-performance, even doing GTK programming is cumbersome – you need to be aware of the GTK’s threading intricacies. Twisted Python and Parallel Python are definitely things I am going to look at more deeply now.

About seven years ago when I joined college, I figured out that BASIC was not the greatest invention of mankind. Today it feels like Deja Vu ! One of these days, I am going to be tempted into designing The-Ultimate-Programming-Language :-D

Filed under: Programming, Python, Rants

One Response

  1. sofarrsogood says:

    interesting

Leave a Reply

SocialVibe


Twitter

  • http://bit.ly/fYhmN - Security ? On the Internet ? Whats that ? The Russian Mafia has pwned you since forever. Null Terminated Strings FTW. 4 days ago
  • http://golang.org/ - "Go" is finally released ! And you were wondering what Ken Thompson and Robert Pike were doing in Building 43 ? 4 days ago
  • Critique on the state of Wikipedia: http://bit.ly/1jknrC Public debate and not Silicon Valley capitalist concerns should drive its future. 4 days ago
  • Haskell is a delightful language full of surprises. But a week of study and half-a-book later, I still struggle to write simple programs. 5 days ago
  • Goodbye and good riddance NewsCorp: http://bit.ly/2QDe4S Game theoretically, you can either lose or you can lose. 5 days ago

Archives