4 ms·
JRuby doesn't have a GVL (Global VM Lock, equivalent of Python's GIL), so you can actually get wild with multithreading. :)
by getsat 15y ago
JRuby doesn't have a GVL (Global VM Lock, equivalent of Python's GIL), so you can actually get wild with multithreading. :)
- rbanffy 15y agoJust to nitpick a bit: CPython (analogous to MRI), has a GIL. That's not the case with Jython. PyPy will eventually get rid of it too, but it seems it will sidestep the non-reentrant GC problem using STM.
- getsat 15y agoSorry, I should have said CPython. Interestingly enough, there have been quite a few attempts at removing the GIL from CPython, too: http://mail.python.org/pipermail/python-dev/2001-August/017099.html http://mail.python.org/pipermail/python-dev/2001-August/0170...
- rbanffy 15y agoYes. It's a very hard problem.