Daniel Madarpystack.hashnode.dev·Dec 6, 2024Concurrency in PythonWhen high-performance is required There are several ways to achieve concurrency in Python and each of them has its own trade-off: A-sync, Multi-Thread and Multi-Process. First of all, let’s break the myth — Python is NOT a single threaded language! Y...DiscussPython
Snehangshu Bhattacharyablogs.snehangshu.dev·Sep 21, 2024Python Multitasking: Key Practices and ChallengesWhen I first encountered the Python language, I was amazed by what you could do with so little code, and it has been one of my favourite programming languages since. Some time ago, I faced a problem where I was trying to create something like a web s...Discuss·120 readsgreenlets
Hemachandrahemachandra.hashnode.dev·Aug 18, 2024Disabling GIL - Unleashing the True Power of PythonIntroduction Python is finally getting rid of its major limitation, the Global Interpreter Lock (GIL), which it has had since 1991. Before explaining what the GIL is, let's understand how computers and programming languages were designed in the 1990s...Discuss·10 likes·249 readsNoGIL
Sachin Palteamgeek.geekpython.in·Aug 16, 2024GIL Become Optional in Python 3.13GIL or Global Interpreter Lock can be disabled in Python version 3.13. This is currently experimental. What is GIL? It is a mechanism used by the CPython interpreter to ensure that only one thread executes the Python bytecode at a time. An Experiment...DiscussPython 3
Samrid Panditsamrid.hashnode.dev·Apr 6, 2023Data Race in Python despite GIL?Data race While the definite definition of data race differs with the concurrency model and the language, it's safe to assume that data race is when 2 or more threads try to access the same memory where at least one of them is a write operation. Seei...Aashish Gairhe and 3 others are discussing this4 people are discussing thisDiscuss·8 likes·799 readsPython