Python is embarking on a new and interesting path! PEP703: "Making the Global Interpreter Lock Optional in CPython" https://discuss.python.org/t/a-steering-council-notice-about-pep-703-making-the-global-interpreter-lock-optional-in-cpython/30474
#python #nogil
Originally posted by Backblaze / @backblaze@twitter.com: https://twitter.com/backblaze/status/1659686027148050432#m
RT by @backblaze: 10x Python I/O speed with one line change? It's possible, and we tested it. Check out the results of our experiments testing different #Python versions with the @backblaze CLI. #pythonprogramming #Pythonistas #pyconus2023 #pyconUS #nogil
#python #pythonprogramming #Pythonistas #pyconus2023 #pyconUS #nogil
By setting `nogil=True` on a Numba function, I just cut the runtime of one part in the code from 60 minutes to 4 minutes.
Feels like an okay win for essentially a single line edit.
#threading #numba #nogil #python
@brettcannon i vote #NoGIL. I do machine learning research, often prototyping code on my local computer (with a quite competent multicore CPU), and i think threads could give me quite some improvements there. Not bringing out the big guns like dask every time might improve latency in development iterations, for example. On the other hand, i think I am badly informed about the implications of a #JIT compiler.
Would love an episode of @pythonbytes discussing the topic.
@brettcannon Thinking if #NoGIL is sorted first, making JIT happen later is probably much easier than the other order.
Will your #python code will run on #nogil (#PEP703)?
It's easy to find out...
Here is a GitHub Action I created to run and test your project code with nogil python (by adding just a few lines of yaml to your project's config).
https://github.com/marketplace/actions/nogil-python
My hope is this helps people get familiar with nogil, begin testing their code, and providing feedback.
Will your #python code will run on #nogil (#PEP703)?
It's easy to find out...
Here is a GitHub Action I created to run and test your project code with nogil python (by adding just a few lines of yaml to your project's config).
https://github.com/marketplace/actions/nogil-python
My hope is this helps people get familiar with nogil, begin testing their code, and providing feedback.
@colesbury
Will your #python code will run on #nogil (#PEP703)?
It's easy to find out...
Here is a GitHub Action I created to run and test your project code with nogil python (by adding just a few lines of yaml to your project's config).
https://github.com/marketplace/actions/nogil-python
My hope is this helps people get familiar with nogil, begin testing their code, and providing feedback.
@colesbury
I’m looking forward to working with #Python #NOGIL. Real, multithreaded apps would be so nice. Kudos to Sam Gross for all the great work on this effort
https://peps.python.org/pep-0703/
https://www.youtube.com/watch?v=qC5Po77bfKI&ab_channel=LexClips
#Python #Python4 #Programming #ProgrammingLanguages #ProgrammingLanguage #Coding #GIL #NOGIL #LexFridman
#lexfridman #nogil #gil #coding #programminglanguage #programminglanguages #programming #python4 #python #python40 #guidovanrossum