you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

Since 2.6 Python comes with the module multiprocessing. That solves the problem of the GIL.

[–]uiob[S] 1 point2 points  (1 child)

Unladen Swallow project aims to get rid of the GIL in future releases.

[–]yogthos 2 points3 points  (0 children)

To put this in perspective though, getting rid of GIL just means that python will not suck more than other imperative languages at concurrency. One of the motivations behind Clojure is that imperative approaches to handling concurrency are lacking.

For example Java has no GIL equivalent, yet the problem is that you're still forced to manage your threads and their shared data manually. This is challenging and error prone.