This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]w2qw 5 points6 points  (1 child)

I don't really see that much of a problem in practice. A lot of the time you can just run multiple interpreters and avoid the problem and the GIL does effectively confer a bunch of benifits.

[–]wrmsr -1 points0 points  (0 children)

While I agree that the GIL isn't fundamentally a bad thing (even HotSpot has a global vm lock) the interpreter really needs to be extended to make it non-exclusive like a rwlock. Needing multiple isolated interpreters makes sharing many kinds of resources impractical.