incorporating dejaMoo: best of breed bull…

Parallel Python

Getting over the GIL

Smart guys say smart things

Many moons ago I read Bruce Eckel's Thinking In Java so his name rang a bell when I read this post on Python 3000. Although arguably a mess of confusion as regards language specification (Python 3000) and library (most of the post), it elicted a measured response from the BDFL, and bit of buzz around the ever-simmering Kill GIL sentiment in some sections of the Python community.

Aren't we done with this?

For the vast majority of problems I encounter, CPython is fast enough. Where it isn't I suck it up and write some C, or if it seems appropriate move that piece of the puzzle into the JVM (via a webservice, or whatever). I doubt I'm Robinson Crusoe here, but there is hardly a Python related newsgroup, mailing list or blog on which I lurk or contribute that doesn't do the GIL discussion at least once a month.

Round and round and round she goes; when the patches arrive we do not know!

Processes

There are those who think a threading model is the be-all and end-all of concurrent programming, those who couldn't care less, and those for whom threads are the satan's very own spawn (geddit?!?). No matter where you position yourself on the scale, you are bound to have been a member of the latter camp (or soon will be) at some stage.

I urge all thread junky / GIL haters (and everyone else) make a slightly-more-than-cursory study of erlang if you haven't already. There is a whole other world out there...

One of the more interesting things to come out of the discussion started by Bruce Eckel has been the many fingers pointing in the direction of pp. I'm yet to play with it, but pp (or something like it) might silence the GIL debate once and for all.

Comments (2) § Posted by in on
AddThis Social Bookmark Button

Comments 2

  1. LiquidSquid wrote:

    Have you tried anything non-trivial with PP?

    Posted September 25, 2007 at 11:37 p.m.
  2. Cam wrote:

    Hi LS,

    Nah, I haven't. I was thinking about using it in a mass mail (not spam, legit) project but haven't had time to give it a real go.

    Posted September 27, 2007 at 9:09 a.m.

Comments are now closed.

Tweet Tweet

Stuffs

Thanks for dropping in.

This is the personal website of Cam MacRae. Any opinions expressed here are my entirely own, and have jack to do with my employer.

It's the product of a little elbow grease, the news.ycombinator noprocrast feature, and a healthy dose of Django.

A Django site.

Tags

  1. D (1)
  2. SOA (1)
  3. ajax (2)
  4. apollo (1)
  5. architecture (1)
  6. blogs (2)
  7. carsales (1)
  8. collaboration (1)
  9. css (1)
  10. django (9)
  11. duels (1)
  12. email (1)
  13. erlang (3)
  14. findability (1)
  15. flex (3)
  16. folksonomies (1)
  17. funny (2)
  18. geek (20)
  19. google (3)
  20. innovation (1)
  21. iphone (1)
  22. javascript (4)
  23. jython (1)
  24. life (5)
  25. lighttpd (1)
  26. lisp (1)
  27. mac (1)
  28. macbook (1)
  29. marketing (1)
  30. open-source (1)
  31. oracle (2)
  32. python (6)
  33. rails (2)
  34. ruby (1)
  35. silverlight (1)
  36. skitch (1)
  37. startups (4)
  38. tech (21)
  39. twitter (1)
  40. usability (1)
  41. web20 (6)
  42. work (3)
  43. yui (2)
ten1000miles.com | Aussie Blogs |  Feed

Creative Commons License This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 Unported License.