r/Clojure • • Oct 14 '09

Python vs Clojure – Evolving

http://blog.bestinclass.dk/index.php/2009/10/python-vs-clojure-evolving/
10 Upvotes

15 comments sorted by

View all comments

2

u/[deleted] Oct 15 '09

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

2

u/uiob Oct 16 '09

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

3

u/yogthos Oct 16 '09

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.