4 ms·
Can a pythonist help a rubyist brother out with a tl;dr? Are they removing the GIL? How does free threading differ from other threading paradigms?
by mwpmaybe 1y ago
Can a pythonist help a rubyist brother out with a tl;dr? Are they removing the GIL? How does free threading differ from other threading paradigms?
- sco1 1y agoYou can read the details in PEP 703: https://peps.python.org/pep-0703/ https://peps.python.org/pep-0703/
- infamia 1y agoTLDR: Yes. As of this release, No-GIL/free threading Python has moved out of the experimental phase and is officially supported in this release. No-GIL Python is not the default for this release (that's potentially the next phase of the project), but running no-GIL/free threading is officially blessed.
- 12_throw_away 1y agoI found it helpful to read the steering council's messages on this [1]. From my reading: yes, there is now an "officially supported" build of cPython without a GIL. But while it is "no longer experimental," it's still not the default. From the SC's list of things that still have to be implemented or stabilized, it really doesn't sound production-ready! Specifically: the ABI is not stabilized yet; the documentation is not written yet; and most importantly, there are not yet "higher-level concurrency primitives that users can use safely and effectively". [1] https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123 https://discuss.python.org/t/pep-779-criteria-for-supported-...