[Python-Dev] Python multithreading without the GIL
Thread information
[Search the python-dev archive]
Sam Gross [this message] ` [Python-Dev] " Chris Angelico ` Dan Stromberg ` Chris Angelico ` Steven D'Aprano ` Łukasz Langa ` Guido van Rossum ` Chris Jerdonek ` Sam Gross ` Reza Roboubi ` Skip Montanaro ` Christopher Barker ` Skip Montanaro ` Christopher Barker ` Skip Montanaro ` Guido van Rossum ` Skip Montanaro ` Sam Gross ` Christopher Barker ` Skip Montanaro ` Nathaniel Smith ` Sam Gross ` Thomas Grainger ` Ronald Oussoren via Python-Dev ` Sam Gross ` Thomas Grainger ` Pablo Galindo Salgado ` Sam Gross ` Guido van Rossum ` Abdur-Rahmaan Janhangeer ` Pablo Galindo Salgado ` Daniel Pope ` Sam Gross ` Larry Hastings ` Barry Warsaw ` Sam Gross ` Barry Warsaw ` Antoine Pitrou ` Sam Gross ` Sam Gross ` Larry Hastings ` Larry Hastings ` Simon Cross ` Mohamed Koubaa ` Paul Bryan ` Skip Montanaro ` brataodream ` Brett Cannon ` Guido van Rossum
| From: | Sam Gross <colesbury-AT-gmail.com> | |
| To: | python-dev-AT-python.org | |
| Subject: | [Python-Dev] Python multithreading without the GIL | |
| Date: | Thu, 07 Oct 2021 15:52:56 -0400 | |
| Message-ID: | <CAGr09bSrMNyVNLTvFq-h6t38kTxqTXfgxJYApmbEWnT71L74-g@mail.gmail.com> |
Hi, I've been working on changes to CPython to allow it to run without the global interpreter lock. I'd like to share a working proof-of-concept that can run without the GIL. The proof-of-concept involves substantial changes to CPython internals, but relatively few changes to the C-API. It is compatible with many C extensions: extensions must be rebuilt, but usually require small or no modifications to source code. I've built compatible versions of packages from the scientific Python ecosystem, and they are installable through the bundled "pip". Source code: https://github.com/colesbury/nogil Design overview: https://docs.google.com/document/d/18CXhDb1ygxg-YXNBJNzfz... My goal with the proof-of-concept is to demonstrate that removing the GIL is feasible and worthwhile, and that the technical ideas of the project could serve as a basis of such an effort. I'd like to start a discussion about these ideas and gauge the community's interest in this approach to removing the GIL. Regards, Sam Gross colesbury@gmail.com / sgross@fb.com
Attachment: None (type=text/html)(HTML attachment elided)
Attachment: None (type=text/plain)_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.... Message archived at https://mail.python.org/archives/list/python-dev@python.o... Code of Conduct: http://python.org/psf/codeofconduct/
