HNHacker News
TopNewBestAskShowJobs

bakery2k

433 karma · joined June 6, 2016

submissionscomments
bakery2k··on Removing Python's GIL: The Gilectomy [video]
all operations on Python collections like lists and dicts, are atomic, making those collections safe to share and modify across threads. Most python code in the wild that utilizes threads makes use of those guarantees. So you either use fine-grained locking, or lock-free data structures, or STM, etc to protect ALL collection instances, or you've basically made a Python 3000 that breaks compatibility with all existing Python code.

Do IronPython and Jython, Python implementations which do not have a GIL, use fine-grained locking? How is multi-threaded performance on these implementations? Surely not as bad as this talk implies CPython with fine-grained locking would be?

← PreviousPage 5 of 5