Tagged articles
64 articles
Page 1 of 1
Data Party THU
Data Party THU
Oct 24, 2025 · Industry Insights

Python 3.14 Removes GIL: What It Means for Concurrency and AI

Python 3.14 introduces optional no‑GIL support, free‑threading, a concurrent interpreter and performance gains, while Guido van Rossum cautions about over‑hyped expectations, discussing the trade‑offs, impact on AI workloads, and the language’s future in an in‑depth interview.

AIGILPython
0 likes · 12 min read
Python 3.14 Removes GIL: What It Means for Concurrency and AI
Python Programming Learning Circle
Python Programming Learning Circle
Sep 15, 2025 · Backend Development

When to Use Threads, Processes, or Asyncio in Python? A Complete Guide

This article explains the differences between concurrency and parallelism, the impact of Python's Global Interpreter Lock, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, mixed‑usage patterns, common pitfalls, and best‑practice recommendations for choosing the right approach.

GILasynciomultiprocessing
0 likes · 11 min read
When to Use Threads, Processes, or Asyncio in Python? A Complete Guide
Python Programming Learning Circle
Python Programming Learning Circle
Jul 9, 2025 · Fundamentals

What’s New in Python 3.14? 7 Features That Will Transform Your Code

Python 3.14 entered the testing phase and brings seven core enhancements—including t‑strings, intelligent error suggestions, guarded pattern matching, per‑interpreter GIL control, ReadOnly/TypeIs type hints, native Zstandard compression, and a zero‑overhead debugger—that will impact web development, data pipelines, and high‑performance computing.

3.14GILNew Features
0 likes · 19 min read
What’s New in Python 3.14? 7 Features That Will Transform Your Code
Code Mala Tang
Code Mala Tang
May 31, 2025 · Backend Development

How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies

This article explains why FastAPI struggles with CPU‑intensive tasks due to Python’s Global Interpreter Lock, describes the types of workloads affected, and provides concrete solutions such as background task queues, microservices, ProcessPoolExecutor, and C/C++ extensions to keep APIs responsive and scalable.

AsynchronousCPU BoundFastAPI
0 likes · 8 min read
How to Overcome FastAPI’s CPU‑Bound Bottlenecks: Practical Parallelism Strategies
php Courses
php Courses
Apr 18, 2025 · Fundamentals

Understanding Multithreading in Python with the threading Module

This article explains Python's multithreading concepts, covering thread creation via subclassing Thread or using target functions, synchronization mechanisms like Lock, RLock, and Condition, and discusses the impact of the Global Interpreter Lock, helping readers apply threading effectively for I/O‑bound tasks.

GILPythonSynchronization
0 likes · 9 min read
Understanding Multithreading in Python with the threading Module
Python Programming Learning Circle
Python Programming Learning Circle
Apr 17, 2025 · Fundamentals

Understanding Processes, Threads, and the GIL in Python

This article explains the concepts of processes and threads, describes Python's Global Interpreter Lock (GIL) and its impact on concurrency, compares the low‑level _thread module with the higher‑level threading module, and provides example code illustrating thread creation, synchronization with locks, and common pitfalls.

GILLockconcurrency
0 likes · 5 min read
Understanding Processes, Threads, and the GIL in Python
Python Programming Learning Circle
Python Programming Learning Circle
Oct 21, 2024 · Fundamentals

New Features in Python 3.13: Interactive Interpreter, Free Threading, Experimental JIT, and Other Updates

Python 3.13 introduces a revamped interactive interpreter with multiline editing, experimental free‑threading that can disable the GIL, an optional JIT compiler, module deprecations, new random CLI utilities, and updated locals behavior, offering developers a more powerful and flexible programming experience.

3.13Free ThreadingGIL
0 likes · 7 min read
New Features in Python 3.13: Interactive Interpreter, Free Threading, Experimental JIT, and Other Updates
21CTO
21CTO
Oct 19, 2024 · Fundamentals

Why Does Python Still Use the GIL? Understanding Its Role and Alternatives

Python's Global Interpreter Lock (GIL) serializes thread execution to protect memory, but in today's multicore era it creates performance bottlenecks; this article explains what the GIL is, why it exists, its impact on multithreading, and how multiprocessing can bypass its limitations.

GILPythonmultiprocessing
0 likes · 6 min read
Why Does Python Still Use the GIL? Understanding Its Role and Alternatives
21CTO
21CTO
Jun 17, 2024 · Fundamentals

How Cython, SPy, and Sub‑Interpreters Are Supercharging Python Performance

At PyCon 2024, experts demonstrated how static typing, Cython compilation, static‑linked C extensions, and sub‑interpreter architectures can dramatically accelerate Python code, reduce runtime overhead, and mitigate GIL limitations, offering practical pathways for faster, more scalable Python applications.

CythonGILoptimization
0 likes · 11 min read
How Cython, SPy, and Sub‑Interpreters Are Supercharging Python Performance
21CTO
21CTO
May 11, 2024 · Fundamentals

What’s New in Python 3.13? Exploring GIL Removal, JIT, and Rankings

Python 3.13 beta introduces groundbreaking features such as an optional GIL, an experimental JIT compiler, and various module improvements, while the Redmonk ranking confirms Python’s surge to the second most popular language, reflecting its growing role in AI, data science, and modern development.

3.13GILJIT
0 likes · 6 min read
What’s New in Python 3.13? Exploring GIL Removal, JIT, and Rankings
21CTO
21CTO
Mar 14, 2024 · Fundamentals

Will Python Finally Ditch the GIL? Inside the Upcoming 3.13 Changes

The article explains how Python's CPython interpreter is set to make the Global Interpreter Lock optional through PEP 703, detailing the recent merge that adds PYTHON_GIL=0 support, the expected Python 3.13 release date, and the potential impact on concurrency and AI workloads.

GILPEP703Python
0 likes · 5 min read
Will Python Finally Ditch the GIL? Inside the Upcoming 3.13 Changes
Tencent Cloud Developer
Tencent Cloud Developer
Sep 11, 2023 · Fundamentals

Understanding Python's Global Interpreter Lock (GIL) and Its Impact

The article explains Python’s Global Interpreter Lock—its historical origins, how CPython’s tick‑based and later time‑slice schedulers manage thread execution, why it limits multi‑core performance, common multiprocessing workarounds, and the difficulties of removing it despite recent proposals for a GIL‑free build.

GILPythonconcurrency
0 likes · 15 min read
Understanding Python's Global Interpreter Lock (GIL) and Its Impact
IT Services Circle
IT Services Circle
Jul 14, 2023 · Fundamentals

Meta Supports PEP 703 to Make the CPython GIL Optional

Meta is promoting PEP 703, which proposes adding a --disable-gil build option to CPython so Python can run without the Global Interpreter Lock, and has pledged three engineer‑years by 2025 to help implement the change, while also noting its Threads product already runs on a heavily modified CPython backend.

CPythonGILMeta
0 likes · 3 min read
Meta Supports PEP 703 to Make the CPython GIL Optional
MaGe Linux Operations
MaGe Linux Operations
Jan 13, 2023 · Fundamentals

Why Python’s GIL Slows Multithreading and How It Actually Works

This article explains the purpose and mechanics of Python’s Global Interpreter Lock (GIL), how it serializes bytecode execution on single- and multi‑core CPUs, its impact on I/O‑bound versus CPU‑bound workloads, and why certain operations remain thread‑safe despite the lock.

CPythonGILmultithreading
0 likes · 8 min read
Why Python’s GIL Slows Multithreading and How It Actually Works
21CTO
21CTO
May 16, 2022 · Fundamentals

How Python’s Next Release Plans to Eliminate the GIL and Boost Speed

The upcoming CPython release in October promises major performance improvements, new browser support, and a potential removal of the Global Interpreter Lock, reflecting industry‑backed efforts from Meta, Microsoft, and the Python core team to modernize the language.

GILhotpyinterpreter
0 likes · 4 min read
How Python’s Next Release Plans to Eliminate the GIL and Boost Speed
Python Programming Learning Circle
Python Programming Learning Circle
Apr 15, 2022 · Fundamentals

Why Python Struggles with Large Projects: Variable Declarations, Module Management, Dependencies, and Concurrency

The article examines the challenges of using Python for large-scale projects, highlighting issues such as implicit variable declarations, complex module dependencies, version conflicts, the Global Interpreter Lock, and concurrency limitations, while comparing Python to languages like C, Go, and Java.

GILModulesPython
0 likes · 13 min read
Why Python Struggles with Large Projects: Variable Declarations, Module Management, Dependencies, and Concurrency
Architecture Digest
Architecture Digest
Jan 24, 2022 · Fundamentals

Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock, and provides a comprehensive guide to using the multiprocessing and concurrent.futures modules—including their main classes, synchronization primitives, and practical code examples—for effective concurrent programming in Python.

GILParallelismPython
0 likes · 40 min read
Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules
21CTO
21CTO
Jan 1, 2022 · Fundamentals

Master Python Concurrency: Threads, Processes, GIL, and Multiprocessing Explained

This article provides a comprehensive guide to Python concurrency, covering the fundamental differences between threads and processes, the impact of the Global Interpreter Lock, and detailed usage of the multiprocessing module with its various components and synchronization primitives.

GILconcurrencymultiprocessing
0 likes · 38 min read
Master Python Concurrency: Threads, Processes, GIL, and Multiprocessing Explained
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Fundamentals

Understanding Python Threads, Processes, GIL, and Multiprocessing

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock (GIL), and how to use the multiprocessing package—including Process, Pool, Queue, Pipe, and synchronization primitives—as well as an overview of concurrent.futures for high‑level concurrent programming in Python.

GILPythonconcurrency
0 likes · 38 min read
Understanding Python Threads, Processes, GIL, and Multiprocessing
Python Programming Learning Circle
Python Programming Learning Circle
Oct 7, 2021 · Fundamentals

Thread‑Safe Counter Implementations in Python: Single‑Thread, Fast‑Read, and Fast‑Write Approaches

This article explains how to implement simple counters in Python, demonstrates why a naïve single‑thread counter is not safe for concurrent use, and presents three thread‑safe alternatives—using a lock, leveraging the GIL with itertools.count, and a combined fast‑read/fast‑write design—along with a performance comparison.

GILthread safety
0 likes · 8 min read
Thread‑Safe Counter Implementations in Python: Single‑Thread, Fast‑Read, and Fast‑Write Approaches
Python Programming Learning Circle
Python Programming Learning Circle
May 28, 2021 · Fundamentals

Common Python Pitfalls and How to Avoid Them

This article enumerates frequent Python pitfalls—including UnboundLocalError, mutable default arguments, subtle differences between x+=y and x=x+y, tuple syntax, shared mutable containers, list mutation during iteration, closure late binding, misuse of del, import inconsistencies, version‑specific changes, and the GIL—providing explanations and correct practices to help developers write safer code.

GILImportVersion Compatibility
0 likes · 13 min read
Common Python Pitfalls and How to Avoid Them
Python Programming Learning Circle
Python Programming Learning Circle
May 14, 2021 · Fundamentals

Why Some Senior Developers Dislike Python: Dynamic Typing, GIL, Whitespace Sensitivity, and Backward Compatibility

The article examines why many senior developers are skeptical of Python, highlighting drawbacks of dynamic typing, the Global Interpreter Lock, excessive whitespace sensitivity, and lack of backward compatibility, while providing code examples and comparisons with statically‑typed languages to illustrate these issues.

Backward CompatibilityGILWhitespace Sensitivity
0 likes · 8 min read
Why Some Senior Developers Dislike Python: Dynamic Typing, GIL, Whitespace Sensitivity, and Backward Compatibility
MaGe Linux Operations
MaGe Linux Operations
Nov 21, 2020 · Fundamentals

Why Python Remains Popular: Strengths, Weaknesses, and Future Outlook

Since its early 1990s debut, Python has surged ahead of many languages due to its readability and extensive libraries, yet it suffers from performance and memory drawbacks, GIL constraints, and limited mobile support, prompting a comparison with emerging languages like Julia, Rust, and Swift.

GILProgramming LanguagePython
0 likes · 7 min read
Why Python Remains Popular: Strengths, Weaknesses, and Future Outlook
21CTO
21CTO
Nov 16, 2020 · Fundamentals

Why Python Still Dominates and Where It Falls Short

The article examines Python's enduring popularity, highlighting its readability, rich ecosystem, and corporate adoption while also discussing its performance drawbacks, memory usage, GIL limitation, and challenges in mobile and high‑performance computing, before comparing it to emerging languages.

GILMobile DevelopmentPython
0 likes · 6 min read
Why Python Still Dominates and Where It Falls Short
Python Programming Learning Circle
Python Programming Learning Circle
Feb 8, 2020 · Fundamentals

Common Python Pitfalls and How to Avoid Them

This article surveys typical Python traps—including UnboundLocalError, mutable default arguments, in‑place versus out‑of‑place updates, tuple syntax, shared mutable containers, list mutation during iteration, closure late binding, __del__ pitfalls, import inconsistencies, version differences, operator quirks, attribute magic methods, and the GIL—explaining why they occur and offering safe alternatives.

GILImportPitfalls
0 likes · 12 min read
Common Python Pitfalls and How to Avoid Them
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 21, 2019 · Fundamentals

Why Python Threads Can’t Fully Utilize Multi‑Core CPUs and How to Use Them Effectively

This tutorial explains Python's multithreading model, its advantages and limitations—including the Global Interpreter Lock—demonstrates thread creation with the threading module, shows race conditions and lock usage, compares processes and threads, and discusses when to choose threads, processes, or asynchronous I/O for different workloads.

GILLockPython
0 likes · 17 min read
Why Python Threads Can’t Fully Utilize Multi‑Core CPUs and How to Use Them Effectively
MaGe Linux Operations
MaGe Linux Operations
Nov 17, 2018 · Fundamentals

Master Python Multithreading: Processes, GIL, and Threading Modules Explained

This article explains the fundamentals of Python concurrency, covering the differences between processes and threads, the role of the Global Interpreter Lock (GIL), how to use the low‑level thread module and the high‑level threading module, synchronization primitives such as Lock, RLock, Event, Condition, and the Queue module for producer‑consumer patterns.

GILconcurrencymultithreading
0 likes · 19 min read
Master Python Multithreading: Processes, GIL, and Threading Modules Explained
MaGe Linux Operations
MaGe Linux Operations
May 19, 2018 · Fundamentals

How a Four‑Year Hunt Fixed a Hidden Python GIL Race Condition

The article recounts a four‑year investigation that uncovered and repaired a subtle race‑condition bug in Python's Global Interpreter Lock, detailing the bug's origin, the implemented fixes, performance testing, and the decision to make the GIL creation unconditional in Python 3.7.

CPythonGILPython
0 likes · 10 min read
How a Four‑Year Hunt Fixed a Hidden Python GIL Race Condition
MaGe Linux Operations
MaGe Linux Operations
Jan 24, 2018 · Backend Development

Ace Alibaba Python Engineer Interview: Real Questions & Answers

This article shares Alibaba's Python engineer job requirements, detailed interview questions covering list operations, word frequency, GIL, multithreading, design patterns, and common Python concepts, along with concise answers to help candidates prepare effectively.

AlibabaCoding QuestionsGIL
0 likes · 10 min read
Ace Alibaba Python Engineer Interview: Real Questions & Answers
Liulishuo Tech Team
Liulishuo Tech Team
Jun 3, 2016 · Backend Development

Understanding Ruby Multithreading and Multiprocessing

This article explains the differences between Ruby threads and processes, when to use each for performance gains, illustrates practical scenarios, and provides code examples for simple multithreading, multiprocessing, and using the Parallel gem.

GILParallelRuby
0 likes · 11 min read
Understanding Ruby Multithreading and Multiprocessing
ITPUB
ITPUB
Apr 6, 2016 · Fundamentals

Why Python Multithreading Struggles and When to Switch to Multiprocessing

This article explains the purpose of Python’s Global Interpreter Lock, how it limits multithreaded performance on multi‑core CPUs, distinguishes CPU‑bound versus I/O‑bound scenarios, and shows why multiprocessing is usually the preferred solution for parallel execution.

GILconcurrencymultiprocessing
0 likes · 6 min read
Why Python Multithreading Struggles and When to Switch to Multiprocessing