🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 197 (from laksa192)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
5 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.2 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://thenewstack.io/pythons-gil-multithreading-and-multiprocessing/
Last Crawled2026-04-13 12:01:43 (5 days ago)
First Indexed2024-10-19 15:08:07 (1 year ago)
HTTP Status Code200
Meta TitlePython's GIL, Multithreading and Multiprocessing - The New Stack
Meta DescriptionThis tutorial explains the Python global interpreter lock (GIL), which prevents multiple threads from executing Python code at the same time.
Meta Canonicalnull
Boilerpipe Text
Programming languages aren’t necessarily controversial but Python’s Global Interpreter Lock (GIL) is a hotly debated topic. The GIL continues to bind Python’s thread of execution to one CPU causing bottlenecks and delays. So why do we still need the GIL and what’s the workaround? What Is the GIL? Python’s GIL, and Python as a language predates this multi-CPU world we live in currently. The first multicore processor was created in the early 2000s, about 10 years after the birth of Python. Before adding multiple cores to a machine was best practice, the premier way to speed up a system was to enhance the system’s single CPU. This meant that at the time of Python’s creation, the language was always tied to a single CPU. Here’s where the GIL did (and does) came in handy. Python’s memory management isn’t thread-safe. This means two threads can’t access the same memory at the same time without risking data corruption. So even back in the days when all CPU bound tasks took place on a single CPU, it was imperative that not only was there order, but that the developer determined the order of operations rather than the CPU or luck. With the GIL acting as a giant lock, the thread of execution remained aligned with the developer’s plans and memory safety persists. But now we live in a multicore world and Python is the language of choice for many compute heavy operations that might be better served by many CPUs so why not remove the GIL altogether? This process would require fundamental and breaking changes. Removing the GIL means changing Python memory handling. Python Multiprocessing and Multithreading Multiprocessing and multithreading are two ways to break the larger thread of execution into smaller threads. Multithreading For I/O intensive tasks, multithreading is a solid option. Multithreading is the process when a processor executes multiple threads concurrently. The threads run concurrently and parallel to one another on the same CPU, thus sharing the same memory space within a parent process. Multithreading saves system memory, increases computing speed, and improves application performance. Responsive UIs are a use case that frequently use multithreading. Python supports multithreading via its threading module. The code snippet below includes the setup and execution of two threads. TRENDING STORIES This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters import threading def numbers(): for i in range(1, 5): print("Thread 1:", i) def letters(): for letter in ['a', 'b', 'c', 'd', 'e']: print("Thread 2:", letter) # Create threads thread1 = threading.Thread(target=numbers) thread2 = threading.Thread(target=letters) # Start threads thread1.start() thread2.start() # Wait for threads to finish thread1.join() thread2.join() print("Example Complete.") numbers() and letters() both represent a task section that was separated into its own thread. The next step was to create a Thread object with the target function for execution. The `start()` method started each thread and the join() method waited for the threads to finish executing before moving the program forward. There are downsides to multithreading. Multithreading is still bound by the GIL’s functionality.  The code itself can be more challenging to read leading to tougher troubleshooting and debugging processes. Multithreading processes can’t be interrupted. Multiprocessing Multiprocessing is how Python developers can work outside of the limitations of the GIL. This makes it a great choice for CPU intensive tasks. It’s more cost effective and efficient than single processor systems. Multiprocessing is similar to threading, but the workload is spread across multiple CPUs with each additional CPU furthering the speed, power, and memory capacity. Multiprocessing requires more memory storage than threads to move data between processes. An inter-process communication (IPC) model must be implemented to share objects between processes. There’s also a Python module that supports multiprocessing. Though different than multithreading, the code looks very similar. Fear not! Even with the GIL you won’t have to process billions of data points one at a time with multithreading and multiprocessing on the job. Just a quick Google search will reveal thousands of searches about the GIL and who does/ doesn’t want it gone. It is by far Python’s most controversial topic. Group Created with Sketch.
Markdown
TNS OK SUBSCRIBE Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development. EMAIL ADDRESS REQUIRED SUBSCRIBE RESUBSCRIPTION REQUIRED It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription. RE-SUBSCRIBE The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our [Terms of Use](https://thenewstack.io/terms-of-use/) and [Privacy Policy](https://thenewstack.io/privacy-policy/). Welcome and thank you for joining The New Stack community\! Please answer a few simple questions to help us deliver the news and resources you are interested in. FIRST NAME REQUIRED LAST NAME REQUIRED COMPANY NAME REQUIRED COUNTRY REQUIRED ZIPCODE REQUIRED Great to meet you\! Tell us a bit about your job so we can cover the topics you find most relevant. What is your job level? REQUIRED Which of these most closely describes your job role? REQUIRED How many employees are in the organization you work with? REQUIRED What option best describes the type of organization you work for? REQUIRED Which of the following best describes your organization's primary industry? REQUIRED LINKEDIN PROFILE URL Welcome\! We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game. What’s next? Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups. Follow TNS on your favorite social media networks. Become a [TNS follower on LinkedIn](https://www.linkedin.com/company/the-new-stack). Check out [the latest featured and trending stories](https://thenewstack.io/) while you wait for your first TNS newsletter. PREV 1 of 2 NEXT VOXPOP As a JavaScript developer, what non-React tools do you use most often? ✓ Angular 0% ✓ Astro 0% ✓ Svelte 0% ✓ Vue.js 0% ✓ Other 0% ✓ I only use React 0% ✓ I don't use JavaScript 0% Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter: SUBMIT NEW! Try Stackie AI LOGIN ARCHITECTURE [Cloud Native Ecosystem](https://thenewstack.io/cloud-native/) [Containers](https://thenewstack.io/containers/) [Databases](https://thenewstack.io/databases/) [Edge Computing](https://thenewstack.io/edge-computing/) [Infrastructure as Code](https://thenewstack.io/infrastructure-as-code/) [Linux](https://thenewstack.io/linux/) [Microservices](https://thenewstack.io/microservices/) [Open Source](https://thenewstack.io/open-source/) [Networking](https://thenewstack.io/networking/) [Storage](https://thenewstack.io/storage/) ENGINEERING [AI](https://thenewstack.io/ai/) [AI Engineering](https://thenewstack.io/ai-engineering/) [API Management](https://thenewstack.io/api-management/) [Backend development](https://thenewstack.io/backend-development/) [Data](https://thenewstack.io/data/) [Frontend Development](https://thenewstack.io/frontend-development/) [Large Language Models](https://thenewstack.io/llm/) [Security](https://thenewstack.io/security/) [Software Development](https://thenewstack.io/software-development/) [WebAssembly](https://thenewstack.io/webassembly/) OPERATIONS [AI Operations](https://thenewstack.io/ai-operations/) [CI/CD](https://thenewstack.io/ci-cd/) [Cloud Services](https://thenewstack.io/cloud-services/) [DevOps](https://thenewstack.io/devops/) [Kubernetes](https://thenewstack.io/kubernetes/) [Observability](https://thenewstack.io/observability/) [Operations](https://thenewstack.io/operations/) [Platform Engineering](https://thenewstack.io/platform-engineering/) PROGRAMMING [C++](https://thenewstack.io/c/) [Developer tools](https://thenewstack.io/developer-tools/) [Go](https://thenewstack.io/go/) [Java](https://thenewstack.io/java/) [JavaScript](https://thenewstack.io/javascript/) [Programming Languages](https://thenewstack.io/programming-languages/) [Python](https://thenewstack.io/python/) [Rust](https://thenewstack.io/rust/) [TypeScript](https://thenewstack.io/typescript/) CHANNELS [Podcasts](https://thenewstack.io/podcasts/) [Ebooks](https://thenewstack.io/ebooks/) [Events](https://thenewstack.io/events/) [Webinars](https://thenewstack.io/webinars/) [Newsletter](https://thenewstack.io/newsletter/) [TNS RSS Feeds](https://thenewstack.io/rss-feeds/) THE NEW STACK [About / Contact](https://thenewstack.io/about-and-contact-info/) [Sponsors](https://thenewstack.io/sponsors/) [Advertise With Us](https://thenewstack.io/sponsorship/) [Contributions](https://thenewstack.io/contributions/) [PODCASTS](https://thenewstack.io/podcasts/) [EBOOKS](https://thenewstack.io/ebooks/) [EVENTS](https://thenewstack.io/events/) [WEBINARS](https://thenewstack.io/webinars/) [NEWSLETTER](https://thenewstack.io/newsletter/) [CONTRIBUTE](https://thenewstack.io/contributions/) [ARCHITECTURE](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing/) [ENGINEERING](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing/) [OPERATIONS](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing/) [PROGRAMMING](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing/) [Cloud Native Ecosystem](https://thenewstack.io/cloud-native/) [Containers](https://thenewstack.io/containers/) [Databases](https://thenewstack.io/databases/) [Edge Computing](https://thenewstack.io/edge-computing/) [Infrastructure as Code](https://thenewstack.io/infrastructure-as-code/) [Linux](https://thenewstack.io/linux/) [Microservices](https://thenewstack.io/microservices/) [Open Source](https://thenewstack.io/open-source/) [Networking](https://thenewstack.io/networking/) [Storage](https://thenewstack.io/storage/) [Microsoft wants to make service mesh invisible Apr 8th 2026 1:11pm, by Frederic Lardinois](https://thenewstack.io/microsoft-wants-to-make-service-mesh-invisible/) [True enterprise sovereignty is more approachable than ever, thanks to K8s-powered cloud-neutral PostgreSQL Apr 7th 2026 11:31am, by TNS Staff](https://thenewstack.io/sovereign-postgresql-kubernetes-portability/) [Is observability still an operations problem at your organization? Apr 6th 2026 12:05pm, by TNS Staff](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) [Why Broadcom gave Velero to the CNCF Sandbox — and what it means for Kubernetes data protection Apr 2nd 2026 10:36am, by B. Cameron Gain](https://thenewstack.io/broadcom-donates-velero-cncf/) [WebAssembly is now outperforming containers at the edge Mar 29th 2026 9:00am, by B. Cameron Gain](https://thenewstack.io/webassembly-component-model-future/) [Microsoft wants to make service mesh invisible Apr 8th 2026 1:11pm, by Frederic Lardinois](https://thenewstack.io/microsoft-wants-to-make-service-mesh-invisible/) [Edera spent years calling KVM less secure. Here's why it changed its mind. Mar 25th 2026 2:22pm, by Steven J. Vaughan-Nichols](https://thenewstack.io/edera-adds-kvm-support/) [Minimus aims to solve one of open-source's long-festering problems Mar 24th 2026 3:00am, by Adrian Bridgwater](https://thenewstack.io/minimus-open-source-container-security/) [How to deploy Pi-Hole with Docker and stop ads on every device on your LAN Mar 23rd 2026 7:44am, by Jack Wallen](https://thenewstack.io/pihole-docker-network-adblocking/) [Chainguard has a fix for the open source packages your AI agents keep grabbing Mar 18th 2026 9:24am, by Darryl K. Taft](https://thenewstack.io/chainguard-repository-ai-agents/) [True enterprise sovereignty is more approachable than ever, thanks to K8s-powered cloud-neutral PostgreSQL Apr 7th 2026 11:31am, by TNS Staff](https://thenewstack.io/sovereign-postgresql-kubernetes-portability/) [The laptop return that broke a RAG pipeline Apr 3rd 2026 7:00am, by Ed Huang](https://thenewstack.io/rag-pipeline-hybrid-search/) [Why pgEdge thinks MCP (not an API) is the right way for AI agents to talk to databases Apr 2nd 2026 2:30pm, by Adrian Bridgwater](https://thenewstack.io/pgedge-mcp-postgres-agents/) [Moving beyond the “magic scaling sauce” myth Apr 2nd 2026 9:30am, by TNS Staff](https://thenewstack.io/beyond-magic-scaling-myth/) [The reason your pgvector benchmark is lying to you Mar 27th 2026 5:00am, by Naina Ananthaswamy](https://thenewstack.io/why-pgvector-benchmarks-lie/) [Edge-forward: Akamai eyes sweet spot between centralized & decentralized AI inference Apr 1st 2026 7:00am, by Adrian Bridgwater](https://thenewstack.io/akamai-edge-ai-inference/) [Developers are coding to a moving target, and nobody knows where AI lands next Mar 3rd 2026 7:33am, by Adrian Bridgwater](https://thenewstack.io/developers-coding-moving-target-ai/) [Cloudflare’s new Markdown support shows how the web is evolving for AI agents Mar 2nd 2026 4:30am, by David Eastman](https://thenewstack.io/intent-engineering-ai-agents/) [React Server Components Vulnerability Found Dec 6th 2025 7:00am, by Loraine Lawson](https://thenewstack.io/react-server-components-vulnerability-found/) [Kubernetes at the Edge: Lessons From GE HealthCare’s Edge Strategy Nov 24th 2025 10:00am, by Vicki Walker](https://thenewstack.io/kubernetes-at-the-edge-lessons-from-ge-healthcares-edge-strategy/) [The operational gap is real, and it's getting wider Mar 26th 2026 8:00am, by Yevgeny Pats](https://thenewstack.io/closing-cloud-operational-gap/) [Why "automated" infrastructure might cost more than you think Feb 24th 2026 4:00am, by Justyn Roberts](https://thenewstack.io/automated-infrastructure-hidden-costs/) [Why 40% of AI projects will be canceled by 2027 (and how to stay in the other 60%) Feb 13th 2026 6:00am, by Alex Drag](https://thenewstack.io/agentic-ai-connectivity-platform/) [Durable Execution: Build reliable software in an unreliable world Feb 2nd 2026 3:23pm, by Charles Humble](https://thenewstack.io/temporal-durable-execution-platform/) [Terraform challenger Formae expands to more clouds Jan 28th 2026 6:00am, by Joab Jackson](https://thenewstack.io/terraform-competitor-formae-expands-to-more-clouds/) [Sparky Linux 9 brings a rolling release to Debian Mar 30th 2026 8:00am, by Jack Wallen](https://thenewstack.io/sparky-linux-9-brings-a-rolling-release-to-debian/) [Edera spent years calling KVM less secure. Here's why it changed its mind. Mar 25th 2026 2:22pm, by Steven J. Vaughan-Nichols](https://thenewstack.io/edera-adds-kvm-support/) [Your Kubernetes isn't ready for AI workloads, and drift is the reason Mar 25th 2026 8:43am, by TNS Staff](https://thenewstack.io/ai-workloads-kubernetes-infrastructure-drift/) [Linux kernel scale is swamping an already-flawed CVE system Mar 20th 2026 4:30am, by Jed Salazar](https://thenewstack.io/linux-kernel-cve-system/) [Scaling Btrfs to petabytes in production: a 74% cost reduction story Mar 18th 2026 5:00am, by Motiejus Jakštys](https://thenewstack.io/btrfs-petabyte-cost-reduction/) [Tetrate launches open source marketplace to simplify Envoy adoption Mar 11th 2026 10:52am, by Adrian Bridgwater](https://thenewstack.io/tetrate-built-on-envoy/) [OpenTelemetry roadmap: Sampling rates and collector improvements ahead Feb 24th 2026 11:00am, by B. Cameron Gain](https://thenewstack.io/opentelemetry-roadmap-sampling-rates-and-collector-improvements-ahead/) [Merging To Test Is Killing Your Microservices Velocity Dec 16th 2025 7:00am, by Arjun Iyer](https://thenewstack.io/merging-to-test-is-killing-your-microservices-velocity/) [IBM’s Confluent Acquisition Is About Event-Driven AI Dec 11th 2025 6:00am, by Joab Jackson](https://thenewstack.io/ibms-confluent-acquisition-is-about-event-driven-ai/) [Deploy Agentic AI Workflows With Kubernetes and Terraform Nov 26th 2025 9:00am, by Oladimeji Sowole](https://thenewstack.io/deploy-agentic-ai-workflows-with-kubernetes-and-terraform/) [Open-source leaders question whether Meta's Alexandr Wang will truly give away its AI models Apr 7th 2026 4:40pm, by Adrian Bridgwater](https://thenewstack.io/meta-open-source-models/) [Anthropic's harness shakeup "just fragments workflows," developers warn Apr 6th 2026 5:39pm, by Adrian Bridgwater](https://thenewstack.io/anthropic-claude-harness-restrictions/) [Why Broadcom gave Velero to the CNCF Sandbox — and what it means for Kubernetes data protection Apr 2nd 2026 10:36am, by B. Cameron Gain](https://thenewstack.io/broadcom-donates-velero-cncf/) [OpenClaw vs. Hermes Agent: The race to build AI assistants that never forget Apr 2nd 2026 10:26am, by Janakiram MSV](https://thenewstack.io/persistent-ai-agents-compared/) [Portkey open-sources its AI gateway after processing 2 trillion tokens a day Mar 31st 2026 3:53pm, by Adrian Bridgwater](https://thenewstack.io/portkey-gateway-open-source/) [Model Flop Utilization is the metric Aria Networks says will define the AI infrastructure era Apr 7th 2026 9:00am, by Adrian Bridgwater](https://thenewstack.io/aria-networks-ai-network/) [How to deploy Pi-Hole with Docker and stop ads on every device on your LAN Mar 23rd 2026 7:44am, by Jack Wallen](https://thenewstack.io/pihole-docker-network-adblocking/) [Why flat Kubernetes networks fail at scale Mar 20th 2026 7:00am, by Reza Ramezanpour](https://thenewstack.io/kubernetes-network-security-hierarchies/) [GSMA Open Gateway offers developers one API for 300+ mobile networks Mar 4th 2026 10:26am, by Adrian Bridgwater](https://thenewstack.io/gsma-open-gateway-developers/) [How Homepage simplifies monitoring your self-hosted services Feb 6th 2026 8:00am, by Jack Wallen](https://thenewstack.io/how-homepage-simplifies-monitoring-your-self-hosted-services/) [Scaling Btrfs to petabytes in production: a 74% cost reduction story Mar 18th 2026 5:00am, by Motiejus Jakštys](https://thenewstack.io/btrfs-petabyte-cost-reduction/) [What is KubeVirt and why it’s growing Mar 17th 2026 9:00am, by Tiago Castro](https://thenewstack.io/kubevirt-live-migration-mayastor/) [S3 is the new network: Rethinking data architecture for the cloud era Feb 2nd 2026 4:00am, by Max Liu](https://thenewstack.io/tidb-x-open-source-database/) [Agoda’s secret to 50x scale: Getting the database basics right Jan 28th 2026 7:00am, by Cynthia Dunlop](https://thenewstack.io/agodas-secret-to-50x-scale-getting-the-database-basics-right/) [Chainguard EmeritOSS backs MinIO, other orphaned projects Jan 27th 2026 6:15am, by Steven J. Vaughan-Nichols](https://thenewstack.io/chainguard-emeritoss-backs-minio-other-orphaned-projects/) [AI](https://thenewstack.io/ai/) [AI Engineering](https://thenewstack.io/ai-engineering/) [API Management](https://thenewstack.io/api-management/) [Backend development](https://thenewstack.io/backend-development/) [Data](https://thenewstack.io/data/) [Frontend Development](https://thenewstack.io/frontend-development/) [Large Language Models](https://thenewstack.io/llm/) [Security](https://thenewstack.io/security/) [Software Development](https://thenewstack.io/software-development/) [WebAssembly](https://thenewstack.io/webassembly/) [Sam Altman promised billions for AI safety. Here's what OpenAI actually spent.](https://thenewstack.io/altman-openai-ai-safety/) Apr 7th 2026 4:04pm, by [Meredith Shubel](https://thenewstack.io/author/mshubel/ "Posts by Meredith Shubel") [Anthropic’s Claude Mythos is now available, but not for you](https://thenewstack.io/anthropic-claude-mythos-cybersecurity/) Apr 7th 2026 2:00pm, by [Frederic Lardinois](https://thenewstack.io/author/frederic-lardinois/ "Posts by Frederic Lardinois") [Is observability still an operations problem at your organization?](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) Apr 6th 2026 12:05pm, by [TNS Staff](https://thenewstack.io/author/tns-staff/ "Posts by TNS Staff") [Anthropic's rough week: leaked models, exposed source code, and a botched GitHub takedown](https://thenewstack.io/anthropic-claude-code-leak/) Apr 2nd 2026 3:59pm, by [Meredith Shubel](https://thenewstack.io/author/mshubel/ "Posts by Meredith Shubel") [Microsoft execs warn agentic AI is hollowing out the junior developer pipeline](https://thenewstack.io/agentic-ai-junior-developer-crisis/) Apr 2nd 2026 2:52pm, by [Darryl K. Taft](https://thenewstack.io/author/darryl-taft/ "Posts by Darryl K. Taft") [MCP servers turn Claude into a reasoning engine for your data](https://thenewstack.io/build-mcp-server-tutorial/) Apr 6th 2026 5:01pm, by [Jessica Wachtel](https://thenewstack.io/author/jessica-wachtel/ "Posts by Jessica Wachtel") [Cursor's \$2 billion bet: The IDE is now a fallback, not the default](https://thenewstack.io/cursor-3-demotes-ide/) Apr 5th 2026 1:29pm, by [Janakiram MSV](https://thenewstack.io/author/janakiram/ "Posts by Janakiram MSV") ["I started to lose my ability to code": Developers grapple with the real cost of AI programming tools](https://thenewstack.io/ai-coding-tools-reckoning/) Apr 3rd 2026 10:01am, by [David Cassel](https://thenewstack.io/author/destiny/ "Posts by David Cassel") [The hidden reason your AI assistant feels so sluggish](https://thenewstack.io/why-ai-feels-sluggish/) Apr 3rd 2026 9:00am, by [Alasdair Brown](https://thenewstack.io/author/alasdair-brown/ "Posts by Alasdair Brown") [The laptop return that broke a RAG pipeline](https://thenewstack.io/rag-pipeline-hybrid-search/) Apr 3rd 2026 7:00am, by [Ed Huang](https://thenewstack.io/author/ed-huang/ "Posts by Ed Huang") [MCP is everywhere, but don't panic. Here's why your existing APIs still matter.](https://thenewstack.io/api-mcp-agent-integration/) Mar 23rd 2026 5:00am, by [Camille Crowell-Lee](https://thenewstack.io/author/camille-crowell-lee/ "Posts by Camille Crowell-Lee") and [Morgan Fine](https://thenewstack.io/author/morgan-fine/ "Posts by Morgan Fine") [Before you let AI agents loose, you’d better know what they’re capable of](https://thenewstack.io/risk-mitigation-agentic-ai/) Mar 12th 2026 1:22pm, by [Charles Humble](https://thenewstack.io/author/charles-humble/ "Posts by Charles Humble") [GSMA Open Gateway offers developers one API for 300+ mobile networks](https://thenewstack.io/gsma-open-gateway-developers/) Mar 4th 2026 10:26am, by [Adrian Bridgwater](https://thenewstack.io/author/adrian-bridgwater/ "Posts by Adrian Bridgwater") [Your AI strategy is built on layers of API sediment](https://thenewstack.io/ai-strategy-api-sediment/) Feb 17th 2026 9:37am, by [Charles Humble](https://thenewstack.io/author/charles-humble/ "Posts by Charles Humble") [Solving the Problems That Accompany API Sprawl With AI](https://thenewstack.io/solving-the-problems-that-accompany-api-sprawl-with-ai/) Jan 15th 2026 1:00pm, by [Heather Joslyn](https://thenewstack.io/author/hjoslyn/ "Posts by Heather Joslyn") [Moving beyond the “magic scaling sauce” myth](https://thenewstack.io/beyond-magic-scaling-myth/) Apr 2nd 2026 9:30am, by [TNS Staff](https://thenewstack.io/author/tns-staff/ "Posts by TNS Staff") [Backend Development in 2026: What's Changed, What Matters, and What to Learn Next](https://thenewstack.io/introduction-to-backend-development/) Mar 19th 2026 11:37am, by [TNS Staff](https://thenewstack.io/author/tns-staff/ "Posts by TNS Staff") [How To Get DNS Right: A Guide to Common Failure Modes](https://thenewstack.io/how-to-get-dns-right-a-guide-to-common-failure-modes/) Dec 24th 2025 8:00am, by [Sheldon Pereira](https://thenewstack.io/author/sheldon-pereira/ "Posts by Sheldon Pereira") and [Denton Chikura](https://thenewstack.io/author/denton-chikura/ "Posts by Denton Chikura") [Combining Rust and Python for High-Performance AI Systems](https://thenewstack.io/combining-rust-and-python-for-high-performance-ai-systems/) Dec 3rd 2025 1:00pm, by [Zziwa Raymond Ian](https://thenewstack.io/author/zziwa-raymond/ "Posts by Zziwa Raymond Ian") [How MCP Uses Streamable HTTP for Real-Time AI Tool Interaction](https://thenewstack.io/how-mcp-uses-streamable-http-for-real-time-ai-tool-interaction/) Aug 18th 2025 10:34am, by [Janakiram MSV](https://thenewstack.io/author/janakiram/ "Posts by Janakiram MSV") [Amazon S3 Files gives the world's biggest object store a file system](https://thenewstack.io/aws-s3-files-filesystem/) Apr 7th 2026 3:00pm, by [Frederic Lardinois](https://thenewstack.io/author/frederic-lardinois/ "Posts by Frederic Lardinois") [Moving beyond the “magic scaling sauce” myth](https://thenewstack.io/beyond-magic-scaling-myth/) Apr 2nd 2026 9:30am, by [TNS Staff](https://thenewstack.io/author/tns-staff/ "Posts by TNS Staff") [Build it yourself: A data pipeline that trains a real model](https://thenewstack.io/data-pipelines-serve-ai/) Mar 28th 2026 9:00am, by [Jessica Wachtel](https://thenewstack.io/author/jessica-wachtel/ "Posts by Jessica Wachtel") [Fivetran donates its SQLMesh data transformation framework to the Linux Foundation](https://thenewstack.io/fivetran-donates-sqlmesh-lf/) Mar 25th 2026 7:39am, by [Frederic Lardinois](https://thenewstack.io/author/frederic-lardinois/ "Posts by Frederic Lardinois") [Ex-Snowflake engineers say there's a blind spot in data engineering — so they built Tower to fix it](https://thenewstack.io/tower-python-data-pipelines/) Mar 15th 2026 7:00am, by [Paul Sawers](https://thenewstack.io/author/paul-sawers/ "Posts by Paul Sawers") [Digital Experience Monitoring belongs in the modern developer workflow](https://thenewstack.io/digital-experience-monitoring-workflow/) Apr 3rd 2026 10:00am, by [Kayla Bondy](https://thenewstack.io/author/kayla-bondy/ "Posts by Kayla Bondy") [WebMCP turns any Chrome web page into an MCP server for AI agents](https://thenewstack.io/webmcp-chrome-ai-agents/) Mar 17th 2026 11:50am, by [David Eastman](https://thenewstack.io/author/david-eastman/ "Posts by David Eastman") [Confluent adds A2A support, anomaly detection, and Queues for Kafka in major platform update](https://thenewstack.io/confluent-kafka-a2a-agents/) Mar 3rd 2026 10:21am, by [Jelani Harper](https://thenewstack.io/author/jelani-harper/ "Posts by Jelani Harper") [Google's Chrome browser moves to a two-week release cycle](https://thenewstack.io/chrome-two-week-releases/) Mar 3rd 2026 9:00am, by [Frederic Lardinois](https://thenewstack.io/author/frederic-lardinois/ "Posts by Frederic Lardinois") [Meta gave React its own foundation. But it's not letting go just yet.](https://thenewstack.io/react-foundation-open-source-governance/) Mar 3rd 2026 4:00am, by [Paul Sawers](https://thenewstack.io/author/paul-sawers/ "Posts by Paul Sawers") [Open-source leaders question whether Meta's Alexandr Wang will truly give away its AI models](https://thenewstack.io/meta-open-source-models/) Apr 7th 2026 4:40pm, by [Adrian Bridgwater](https://thenewstack.io/author/adrian-bridgwater/ "Posts by Adrian Bridgwater") [Anthropic's harness shakeup "just fragments workflows," developers warn](https://thenewstack.io/anthropic-claude-harness-restrictions/) Apr 6th 2026 5:39pm, by [Adrian Bridgwater](https://thenewstack.io/author/adrian-bridgwater/ "Posts by Adrian Bridgwater") [Why most AI projects fail after the demo actually works](https://thenewstack.io/ai-demo-to-production/) Mar 25th 2026 4:00am, by [Oladimeji Sowole](https://thenewstack.io/author/oladimeji-sowole/ "Posts by Oladimeji Sowole") [IBM, Red Hat, and Google just donated a Kubernetes blueprint for LLM inference to the CNCF](https://thenewstack.io/llm-d-cncf-kubernetes-inference/) Mar 24th 2026 8:20am, by [Steven J. Vaughan-Nichols](https://thenewstack.io/author/sjvn/ "Posts by Steven J. Vaughan-Nichols") [Andrej Karpathy's 630-line Python script ran 50 experiments overnight without any human input](https://thenewstack.io/karpathy-autonomous-experiment-loop/) Mar 14th 2026 5:00am, by [Janakiram MSV](https://thenewstack.io/author/janakiram/ "Posts by Janakiram MSV") [The TeamPCP attacks are a warning: Your CI/CD pipeline is the new front line](https://thenewstack.io/cicd-pipeline-front-line/) Apr 2nd 2026 12:00pm, by [Dan Lorenc](https://thenewstack.io/author/dan-lorenc/ "Posts by Dan Lorenc") [Inside Claude Code's leaked source: swarms, daemons, and 44 features Anthropic kept behind flags](https://thenewstack.io/claude-code-source-leak/) Apr 1st 2026 7:23am, by [Janakiram MSV](https://thenewstack.io/author/janakiram/ "Posts by Janakiram MSV") [Nvidia's NemoClaw has three layers of agent security. None of them solve the real problem.](https://thenewstack.io/nvidia-nemoclaw-openclaw-security/) Mar 28th 2026 9:30am, by [David Eastman](https://thenewstack.io/author/david-eastman/ "Posts by David Eastman") [Gitleaks creator returns with Betterleaks, an open source secrets scanner for the agentic era](https://thenewstack.io/betterleaks-open-source-secret-scanner/) Mar 27th 2026 11:00am, by [Paul Sawers](https://thenewstack.io/author/paul-sawers/ "Posts by Paul Sawers") [How TeamPCP turned Aqua Security's own Trivy scanner into a weapon against millions of developers](https://thenewstack.io/teampcp-trivy-supply-chain-attack/) Mar 27th 2026 10:00am, by [Steven J. Vaughan-Nichols](https://thenewstack.io/author/sjvn/ "Posts by Steven J. Vaughan-Nichols") [Is observability still an operations problem at your organization?](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) Apr 6th 2026 12:05pm, by [TNS Staff](https://thenewstack.io/author/tns-staff/ "Posts by TNS Staff") ["I started to lose my ability to code": Developers grapple with the real cost of AI programming tools](https://thenewstack.io/ai-coding-tools-reckoning/) Apr 3rd 2026 10:01am, by [David Cassel](https://thenewstack.io/author/destiny/ "Posts by David Cassel") [Digital Experience Monitoring belongs in the modern developer workflow](https://thenewstack.io/digital-experience-monitoring-workflow/) Apr 3rd 2026 10:00am, by [Kayla Bondy](https://thenewstack.io/author/kayla-bondy/ "Posts by Kayla Bondy") [There’s a hidden tax on every AI-generated merge request](https://thenewstack.io/hidden-tax-ai-code/) Apr 2nd 2026 10:00am, by [Brian Wald](https://thenewstack.io/author/brian-wald/ "Posts by Brian Wald") [Why programming became the proving ground for AI](https://thenewstack.io/programming-ai-proving-ground/) Apr 2nd 2026 9:00am, by [Sean Falconer](https://thenewstack.io/author/sean-falconer/ "Posts by Sean Falconer") [Edge-forward: Akamai eyes sweet spot between centralized & decentralized AI inference](https://thenewstack.io/akamai-edge-ai-inference/) Apr 1st 2026 7:00am, by [Adrian Bridgwater](https://thenewstack.io/author/adrian-bridgwater/ "Posts by Adrian Bridgwater") [WebAssembly is now outperforming containers at the edge](https://thenewstack.io/webassembly-component-model-future/) Mar 29th 2026 9:00am, by [B. Cameron Gain](https://thenewstack.io/author/bruce-gain/ "Posts by B. Cameron Gain") [WebAssembly could solve AI agents' most dangerous security gap](https://thenewstack.io/webassembly-sandboxing-ai-agents/) Mar 24th 2026 9:01am, by [B. Cameron Gain](https://thenewstack.io/author/bruce-gain/ "Posts by B. Cameron Gain") [How WebAssembly plugins simplify Kubernetes extensibility](https://thenewstack.io/how-webassembly-plugins-simplify-kubernetes-extensibility/) Mar 3rd 2026 2:00pm, by [B. Cameron Gain](https://thenewstack.io/author/bruce-gain/ "Posts by B. Cameron Gain") [WebAssembly is everywhere. Here's how it works](https://thenewstack.io/webassembly-is-everywhere-heres-how-it-works/) Feb 25th 2026 11:00am, by [Jessica Wachtel](https://thenewstack.io/author/jessica-wachtel/ "Posts by Jessica Wachtel") [AI Operations](https://thenewstack.io/ai-operations/) [CI/CD](https://thenewstack.io/ci-cd/) [Cloud Services](https://thenewstack.io/cloud-services/) [DevOps](https://thenewstack.io/devops/) [Kubernetes](https://thenewstack.io/kubernetes/) [Observability](https://thenewstack.io/observability/) [Operations](https://thenewstack.io/operations/) [Platform Engineering](https://thenewstack.io/platform-engineering/) [Ramp targets AI’s fastest-growing cost: spend that’s hard to track](https://thenewstack.io/ramp-ai-token-spend-management/) Apr 9th 2026 9:00am, by Paul Sawers [Microsoft wants to make service mesh invisible](https://thenewstack.io/microsoft-wants-to-make-service-mesh-invisible/) Apr 8th 2026 1:11pm, by Frederic Lardinois [Sam Altman promised billions for AI safety. Here's what OpenAI actually spent.](https://thenewstack.io/altman-openai-ai-safety/) Apr 7th 2026 4:04pm, by Meredith Shubel [JetBrains: AI agents are about to repeat the cloud ROI crisis](https://thenewstack.io/jetbrains-central-ai-agents/) Mar 31st 2026 4:02pm, by Darryl K. Taft [HPE's AI agents cut root cause analysis time in half](https://thenewstack.io/hpe-agentic-ai-ops-burnout/) Mar 25th 2026 7:14am, by Jennifer Riggins [The TeamPCP attacks are a warning: Your CI/CD pipeline is the new front line](https://thenewstack.io/cicd-pipeline-front-line/) Apr 2nd 2026 12:00pm, by Dan Lorenc [Why coding agents will break your CI/CD pipeline (and how to fix it)](https://thenewstack.io/coding-agents-cicd-fix/) Apr 2nd 2026 11:00am, by Arjun Iyer [How TeamPCP turned Aqua Security's own Trivy scanner into a weapon against millions of developers](https://thenewstack.io/teampcp-trivy-supply-chain-attack/) Mar 27th 2026 10:00am, by Steven J. Vaughan-Nichols [Enterprise dev teams are about to hit a wall. And CI pipelines can't save them.](https://thenewstack.io/ai-agent-validation-bottleneck/) Mar 26th 2026 7:00am, by Anirudh Ramanathan [This simple infrastructure gap is holding back AI productivity](https://thenewstack.io/this-simple-infrastructure-gap-is-holding-back-ai-productivity/) Feb 22nd 2026 8:00am, by Charlotte Fleming [Amazon S3 Files gives the world's biggest object store a file system](https://thenewstack.io/aws-s3-files-filesystem/) Apr 7th 2026 3:00pm, by Frederic Lardinois [SUSE Rancher and Vultr want to break AI infrastructure free from the hyperscalers](https://thenewstack.io/vultr-suse-rancher-ai/) Apr 4th 2026 9:00am, by B. Cameron Gain [Vultr says its Nvidia-powered AI infrastructure costs 50% to 90% less than hyperscalers](https://thenewstack.io/vultr-nvidia-ai-infrastructure/) Apr 3rd 2026 3:08pm, by B. Cameron Gain [A practical guide to the 6 categories of AI cloud infrastructure in 2026](https://thenewstack.io/ai-cloud-taxonomy-2026/) Mar 15th 2026 5:00am, by Janakiram MSV [Runpod report: Qwen has overtaken Meta's Llama as the most-deployed self-hosted LLM](https://thenewstack.io/runpod-ai-infrastructure-reality/) Mar 12th 2026 6:00am, by Adrian Bridgwater [Is observability still an operations problem at your organization?](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) Apr 6th 2026 12:05pm, by TNS Staff [The TeamPCP attacks are a warning: Your CI/CD pipeline is the new front line](https://thenewstack.io/cicd-pipeline-front-line/) Apr 2nd 2026 12:00pm, by Dan Lorenc [There’s a hidden tax on every AI-generated merge request](https://thenewstack.io/hidden-tax-ai-code/) Apr 2nd 2026 10:00am, by Brian Wald [One developer, team power: The future of AI-driven DevSecOps](https://thenewstack.io/future-ai-driven-devsecops/) Mar 5th 2026 2:29pm, by Bryan Ross [Observability platform migration guide: Prometheus, OpenTelemetry, and Fluent Bit](https://thenewstack.io/observability-platform-migration-guide/) Feb 26th 2026 7:28am, by Katie Greenley [Amazon EKS Auto Mode wants to end Kubernetes toil — one node at a time](https://thenewstack.io/eks-auto-mode-kubernetes/) Apr 7th 2026 1:55pm, by Adrian Bridgwater [True enterprise sovereignty is more approachable than ever, thanks to K8s-powered cloud-neutral PostgreSQL](https://thenewstack.io/sovereign-postgresql-kubernetes-portability/) Apr 7th 2026 11:31am, by TNS Staff [How platform teams are eliminating a \$43,800 "hidden tax" on Kubernetes infrastructure](https://thenewstack.io/virtual-clusters-kubernetes-cost-isolation/) Mar 28th 2026 4:09pm, by Janakiram MSV [Your Kubernetes isn't ready for AI workloads, and drift is the reason](https://thenewstack.io/ai-workloads-kubernetes-infrastructure-drift/) Mar 25th 2026 8:43am, by TNS Staff [Broadcom donates Velero to CNCF — and it could reshape how Kubernetes users handle backup and disaster recovery](https://thenewstack.io/broadcom-velero-cncf-kubernetes/) Mar 24th 2026 8:38am, by B. Cameron Gain [Is observability still an operations problem at your organization?](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) Apr 6th 2026 12:05pm, by TNS Staff [Digital Experience Monitoring belongs in the modern developer workflow](https://thenewstack.io/digital-experience-monitoring-workflow/) Apr 3rd 2026 10:00am, by Kayla Bondy [Solo.io launches agentevals to solve agentic AI's "biggest unsolved problem"](https://thenewstack.io/soloio-agentevals-evaluates-ai-agents/) Mar 28th 2026 6:00am, by Steven J. Vaughan-Nichols [From pillars to platform: How open observability data is changing the industry](https://thenewstack.io/open-observability-ai-platforms/) Mar 20th 2026 6:00am, by Ted Young [Sampling: the philosopher's stone of distributed tracing](https://thenewstack.io/distributed-tracing-sampling-opentelemetry/) Mar 19th 2026 8:00am, by Michele Mancioppi [With Claude Managed Agents, Anthropic wants to run your AI agents for you](https://thenewstack.io/with-claude-managed-agents-anthropic-wants-to-run-your-ai-agents-for-you/) Apr 8th 2026 1:55pm, by Frederic Lardinois [The operational gap is real, and it's getting wider](https://thenewstack.io/closing-cloud-operational-gap/) Mar 26th 2026 8:00am, by Yevgeny Pats [Your Kubernetes isn't ready for AI workloads, and drift is the reason](https://thenewstack.io/ai-workloads-kubernetes-infrastructure-drift/) Mar 25th 2026 8:43am, by TNS Staff [HPE's AI agents cut root cause analysis time in half](https://thenewstack.io/hpe-agentic-ai-ops-burnout/) Mar 25th 2026 7:14am, by Jennifer Riggins [WebAssembly could solve AI agents' most dangerous security gap](https://thenewstack.io/webassembly-sandboxing-ai-agents/) Mar 24th 2026 9:01am, by B. Cameron Gain [Amazon EKS Auto Mode wants to end Kubernetes toil — one node at a time](https://thenewstack.io/eks-auto-mode-kubernetes/) Apr 7th 2026 1:55pm, by Adrian Bridgwater [Is observability still an operations problem at your organization?](https://thenewstack.io/is-observability-still-an-operations-problem-at-your-organization/) Apr 6th 2026 12:05pm, by TNS Staff [Vultr says its Nvidia-powered AI infrastructure costs 50% to 90% less than hyperscalers](https://thenewstack.io/vultr-nvidia-ai-infrastructure/) Apr 3rd 2026 3:08pm, by B. Cameron Gain [Why coding agents will break your CI/CD pipeline (and how to fix it)](https://thenewstack.io/coding-agents-cicd-fix/) Apr 2nd 2026 11:00am, by Arjun Iyer [How to solve the AI paradox in software development with intelligent orchestration](https://thenewstack.io/solve-ai-paradox-orchestration/) Mar 31st 2026 12:14pm, by Manav Khurana [C++](https://thenewstack.io/c/) [Developer tools](https://thenewstack.io/developer-tools/) [Go](https://thenewstack.io/go/) [Java](https://thenewstack.io/java/) [JavaScript](https://thenewstack.io/javascript/) [Programming Languages](https://thenewstack.io/programming-languages/) [Python](https://thenewstack.io/python/) [Rust](https://thenewstack.io/rust/) [TypeScript](https://thenewstack.io/typescript/) [Open source USearch library jumpstarts ScyllaDB vector search](https://thenewstack.io/open-source-usearch-library-jumpstarts-scylladb-vector-search/) Feb 5th 2026 12:00pm, by Jelani Harper [AWS WAF vs. Google Cloud Armor: A Multicloud Security Showdown](https://thenewstack.io/aws-waf-vs-google-cloud-armor-a-multicloud-security-showdown/) Nov 25th 2025 10:00am, by Advait Patel [Goodbye Dashboards: Agents Deliver Answers, Not Just Reports](https://thenewstack.io/goodbye-dashboards-agents-deliver-answers-not-just-reports/) Nov 23rd 2025 9:00am, by Ketan Karkhanis [Rust vs. C++: a Modern Take on Performance and Safety](https://thenewstack.io/rust-vs-c-a-modern-take-on-performance-and-safety/) Oct 22nd 2025 2:00pm, by Zziwa Raymond Ian [Building a Real-Time System Monitor in Rust Terminal](https://thenewstack.io/building-a-real-time-system-monitor-in-rust-terminal/) Oct 15th 2025 7:05am, by Tinega Onchari [Amazon S3 Files gives the world's biggest object store a file system](https://thenewstack.io/aws-s3-files-filesystem/) Apr 7th 2026 3:00pm, by Frederic Lardinois [MCP servers turn Claude into a reasoning engine for your data](https://thenewstack.io/build-mcp-server-tutorial/) Apr 6th 2026 5:01pm, by Jessica Wachtel [Cursor's \$2 billion bet: The IDE is now a fallback, not the default](https://thenewstack.io/cursor-3-demotes-ide/) Apr 5th 2026 1:29pm, by Janakiram MSV [How to integrate VS Code with Ollama for local AI assistance](https://thenewstack.io/how-to-integrate-vs-code-with-ollama-for-local-ai-assistance/) Apr 1st 2026 8:00am, by Jack Wallen [JetBrains: AI agents are about to repeat the cloud ROI crisis](https://thenewstack.io/jetbrains-central-ai-agents/) Mar 31st 2026 4:02pm, by Darryl K. Taft [Go Experts: 'I Don't Want to Maintain AI-Generated Code'](https://thenewstack.io/go-experts-i-dont-want-to-maintain-ai-generated-code/) Sep 28th 2025 6:00am, by David Cassel [How To Run Kubernetes Commands in Go: Steps and Best Practices](https://thenewstack.io/how-to-run-kubernetes-commands-in-go-steps-and-best-practices/) Jun 27th 2025 8:00am, by Sunny Yadav [Prepare Your Mac for Go Development](https://thenewstack.io/prepare-your-mac-for-go-development/) Apr 12th 2025 7:00am, by Damon M. Garn [Pagoda: A Web Development Starter Kit for Go Programmers](https://thenewstack.io/pagoda-a-web-development-starter-kit-for-go-programmers/) Mar 19th 2025 6:10am, by Loraine Lawson [Microsoft TypeScript Devs Explain Why They Chose Go Over Rust, C\#](https://thenewstack.io/microsoft-typescript-devs-explain-why-they-chose-go-over-rust-c/) Mar 18th 2025 7:00am, by David Cassel [In the AI Age, Java is More Relevant Than Ever](https://thenewstack.io/in-the-ai-age-java-is-more-relevant-than-ever/) Apr 8th 2026 5:30pm, by Mary Branscombe [Java 26 lands without an LTS badge. Here's why developers should care anyway.](https://thenewstack.io/java-26-performance-ai/) Mar 18th 2026 9:35am, by Darryl K. Taft [62% of enterprises now use Java to power AI apps](https://thenewstack.io/2026-java-ai-apps/) Feb 10th 2026 12:58pm, by Darryl K. Taft [BellSoft bets Java expertise can beat hardened container wave](https://thenewstack.io/bellsoft-bets-java-expertise-can-beat-hardened-container-wave/) Jan 26th 2026 3:00pm, by Darryl K. Taft [Java Developers Get Multiple Paths To Building AI Agents](https://thenewstack.io/java-developers-get-multiple-paths-to-building-ai-agents/) Dec 26th 2025 7:02am, by Darryl K. Taft [TypeScript 6.0 RC arrives as a bridge to a faster future](https://thenewstack.io/typescript-6-0-rc-arrives-as-a-bridge-to-a-faster-future/) Mar 14th 2026 9:00am, by Darryl K. Taft [WebAssembly is everywhere. Here's how it works](https://thenewstack.io/webassembly-is-everywhere-heres-how-it-works/) Feb 25th 2026 11:00am, by Jessica Wachtel [Wasm vs. JavaScript: Who wins at a million rows?](https://thenewstack.io/wasm-vs-javascript-who-wins-at-a-million-rows/) Feb 22nd 2026 6:00am, by Jessica Wachtel [Arcjet reaches v1.0, promises stable security for JavaScript apps](https://thenewstack.io/arcjet-reaches-v1-0-promises-stable-security-for-javascript-apps/) Feb 14th 2026 7:00am, by Darryl K. Taft [How WebAssembly and Web Workers prevent UI freezes](https://thenewstack.io/how-webassembly-and-web-workers-prevent-ui-freezes/) Feb 7th 2026 9:00am, by Jessica Wachtel [Will AI force code to evolve or make it extinct?](https://thenewstack.io/ai-programming-languages-future/) Mar 22nd 2026 6:00am, by David Cassel [Java 26 lands without an LTS badge. Here's why developers should care anyway.](https://thenewstack.io/java-26-performance-ai/) Mar 18th 2026 9:35am, by Darryl K. Taft [TypeScript 6.0 RC arrives as a bridge to a faster future](https://thenewstack.io/typescript-6-0-rc-arrives-as-a-bridge-to-a-faster-future/) Mar 14th 2026 9:00am, by Darryl K. Taft [Nearly half of all companies now use Rust in production, survey finds](https://thenewstack.io/rust-enterprise-developers/) Mar 6th 2026 10:45am, by Darryl K. Taft [Statistical language R is making a comeback against Python](https://thenewstack.io/statistical-language-r-is-making-a-comeback-against-python/) Feb 12th 2026 2:57pm, by Darryl K. Taft [In the AI Age, Java is More Relevant Than Ever](https://thenewstack.io/in-the-ai-age-java-is-more-relevant-than-ever/) Apr 8th 2026 5:30pm, by Mary Branscombe [OpenAI acquires Astral to bring open source Python developer tools to Codex — but details are still fuzzy](https://thenewstack.io/openai-astral-acquisition/) Mar 20th 2026 7:33am, by Meredith Shubel [Python virtual environments: isolation without the chaos](https://thenewstack.io/python-virtual-environments-isolation-without-the-chaos/) Feb 16th 2026 7:00am, by Jessica Wachtel [Statistical language R is making a comeback against Python](https://thenewstack.io/statistical-language-r-is-making-a-comeback-against-python/) Feb 12th 2026 2:57pm, by Darryl K. Taft [Arcjet's Python SDK Embeds Security in Code](https://thenewstack.io/arcjets-python-sdk-embeds-security-in-code/) Jan 16th 2026 2:00pm, by Darryl K. Taft [Nearly half of all companies now use Rust in production, survey finds](https://thenewstack.io/rust-enterprise-developers/) Mar 6th 2026 10:45am, by Darryl K. Taft [Wasm vs. JavaScript: Who wins at a million rows?](https://thenewstack.io/wasm-vs-javascript-who-wins-at-a-million-rows/) Feb 22nd 2026 6:00am, by Jessica Wachtel [Open source USearch library jumpstarts ScyllaDB vector search](https://thenewstack.io/open-source-usearch-library-jumpstarts-scylladb-vector-search/) Feb 5th 2026 12:00pm, by Jelani Harper [The 'weird' things that happened when Clickhouse replaced C++ with Rust](https://thenewstack.io/the-weird-things-that-happened-when-clickhouse-replaced-c-with-rust/) Feb 4th 2026 7:26am, by B. Cameron Gain [Async Rust: Pinning demystified](https://thenewstack.io/async-rust-pinning-demystified/) Jan 26th 2026 11:00am, by Anshul Gupta [TypeScript 6.0 RC arrives as a bridge to a faster future](https://thenewstack.io/typescript-6-0-rc-arrives-as-a-bridge-to-a-faster-future/) Mar 14th 2026 9:00am, by Darryl K. Taft [Mastra empowers web devs to build AI agents in TypeScript](https://thenewstack.io/mastra-empowers-web-devs-to-build-ai-agents-in-typescript/) Jan 28th 2026 11:00am, by Loraine Lawson [Inferno Vet Creates Frontend Framework Built With AI in Mind](https://thenewstack.io/inferno-vet-creates-frontend-framework-built-with-ai-in-mind/) Dec 10th 2025 11:00am, by Loraine Lawson [JavaScript Utility Library Lodash Changing Governance Model](https://thenewstack.io/javascript-utility-library-lodash-changing-governance-model/) Nov 1st 2025 7:00am, by Loraine Lawson [Microsoft TypeScript Devs Explain Why They Chose Go Over Rust, C\#](https://thenewstack.io/microsoft-typescript-devs-explain-why-they-chose-go-over-rust-c/) Mar 18th 2025 7:00am, by David Cassel 2024-10-19 07:00:45 Python's GIL, Multithreading and Multiprocessing [Programming Languages](https://thenewstack.io/category/programming-languages/) / [Python](https://thenewstack.io/category/python/) / [Software Development](https://thenewstack.io/category/software-development/) # Python’s GIL, Multithreading and Multiprocessing This tutorial explains the Python global interpreter lock (GIL), which prevents multiple threads from executing Python code at the same time. Oct 19th, 2024 7:00am by [Jessica Wachtel](https://thenewstack.io/author/jessica-wachtel/ "Posts by Jessica Wachtel") ![Featued image for: Python’s GIL, Multithreading and Multiprocessing](https://cdn.thenewstack.io/media/2024/10/de7d69af-mariia-shalabaieva-zvc8a0crtz0-unsplash-1024x576.jpg) Featured image via Unsplash+. [Programming languages](https://thenewstack.io/which-programming-languages-use-the-least-electricity/) aren’t necessarily controversial but [Python’s Global Interpreter Lock (GIL)](https://thenewstack.io/python-to-drop-the-global-lock-for-greater-parallelism/) is a hotly debated topic. The GIL continues to bind Python’s thread of execution to one CPU causing bottlenecks and delays. So why do we still need the GIL and what’s the workaround? ## What Is the GIL? Python’s GIL, and [Python](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing) as a language predates this multi-CPU world we live in currently. The first multicore processor was created in the early 2000s, about 10 years after the birth of Python. Before adding multiple cores to a machine was best practice, the premier way to speed up a system was to enhance the system’s single CPU. This meant that at the time of Python’s creation, the language was always tied to a single CPU. Here’s where the GIL did (and does) came in handy. Python’s memory management isn’t thread-safe. This means two threads can’t access the same memory at the same time without risking data corruption. So even back in the days when all CPU bound tasks took place on a single CPU, it was imperative that not only was there order, but that the developer determined the order of operations rather than the CPU or luck. With the GIL acting as a giant lock, the thread of execution remained aligned with the developer’s plans and memory safety persists. But now we live in a multicore world and Python is the language of choice for many compute heavy operations that might be better served by many CPUs so why not remove the GIL altogether? This process would require fundamental and breaking changes. Removing the GIL means changing Python memory handling. ## Python Multiprocessing and Multithreading Multiprocessing and multithreading are two ways to break the larger thread of execution into smaller threads. ### Multithreading For I/O intensive tasks, multithreading is a solid option. [Multithreading](https://thenewstack.io/wix-multithreaded-node-js-to-cut-kubernetes-pod-costs/) is the process when a processor executes multiple threads concurrently. The threads run concurrently and parallel to one another on the same CPU, thus sharing the same memory space within a parent process. Multithreading saves system memory, increases computing speed, and improves application performance. Responsive UIs are a use case that frequently use multithreading. Python supports multithreading via its threading module. The code snippet below includes the setup and execution of two threads. TRENDING STORIES | | | |---|---| | | import threading | | | def numbers(): | | | for i in range(1, 5): | | | print("Thread 1:", i) | | | def letters(): | | | for letter in \['a', 'b', 'c', 'd', 'e'\]: | | | print("Thread 2:", letter) | | | \# Create threads | | | thread1 = threading.Thread(target=numbers) | | | thread2 = threading.Thread(target=letters) | | | \# Start threads | | | thread1.start() | | | thread2.start() | | | \# Wait for threads to finish | | | thread1.join() | | | thread2.join() | | | print("Example Complete.") | [view raw](https://gist.github.com/JessicaWachtel/0d14dc7def009d33e5aec550a21d3bb5/raw/c40c85114cb53abab8a38a81244fbe9aabdb7edb/gistfile1.txt) [gistfile1.txt](https://gist.github.com/JessicaWachtel/0d14dc7def009d33e5aec550a21d3bb5#file-gistfile1-txt) hosted with ❤ by [GitHub](https://github.com/) View the code on [Gist](https://gist.github.com/JessicaWachtel/0d14dc7def009d33e5aec550a21d3bb5). `numbers()` and `letters()` both represent a task section that was separated into its own thread. The next step was to create a `Thread` object with the target function for execution. The \`start()\` method started each thread and the `join()` method waited for the threads to finish executing before moving the program forward. There are downsides to multithreading. Multithreading is still bound by the GIL’s functionality. The code itself can be more challenging to read leading to tougher troubleshooting and debugging processes. Multithreading processes can’t be interrupted. ### Multiprocessing Multiprocessing is how Python developers can work outside of the limitations of the GIL. This makes it a great choice for CPU intensive tasks. It’s more cost effective and efficient than single processor systems. Multiprocessing is similar to threading, but the workload is spread across multiple CPUs with each additional CPU furthering the speed, power, and memory capacity. Multiprocessing requires more memory storage than threads to move data between processes. An inter-process communication (IPC) model must be implemented to share objects between processes. There’s also a Python module that supports multiprocessing. Though different than multithreading, the code looks very similar. ### Fear not\! Even with the GIL you won’t have to process billions of data points one at a time with multithreading and multiprocessing on the job. Just a quick [Google](https://cloud.google.com/?utm_content=inline+mention) search will reveal thousands of searches about the GIL and who does/ doesn’t want it gone. It is by far Python’s most controversial topic. Created with Sketch. [![](https://thenewstack.io/wp-content/uploads/2023/04/d55571c0-cropped-b09ca100-image1-600x600.jpg) Jessica Wachtel is a developer marketing writer at InfluxData where she creates content that helps make the world of time series data more understandable and accessible. Jessica has a background in software development and technical journalism. Read more from Jessica Wachtel](https://thenewstack.io/author/jessica-wachtel/) SHARE THIS STORY TRENDING STORIES Google is a sponsor of The New Stack. SHARE THIS STORY TRENDING STORIES TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day. SUBSCRIBE The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our [Terms of Use](https://thenewstack.io/terms-of-use/) and [Privacy Policy](https://thenewstack.io/privacy-policy/). ARCHITECTURE [Cloud Native Ecosystem](https://thenewstack.io/cloud-native/) [Containers](https://thenewstack.io/containers/) [Databases](https://thenewstack.io/databases/) [Edge Computing](https://thenewstack.io/edge-computing/) [Infrastructure as Code](https://thenewstack.io/infrastructure-as-code/) [Linux](https://thenewstack.io/linux/) [Microservices](https://thenewstack.io/microservices/) [Open Source](https://thenewstack.io/open-source/) [Networking](https://thenewstack.io/networking/) [Storage](https://thenewstack.io/storage/) ENGINEERING [AI](https://thenewstack.io/ai/) [AI Engineering](https://thenewstack.io/ai-engineering/) [API Management](https://thenewstack.io/api-management/) [Backend development](https://thenewstack.io/backend-development/) [Data](https://thenewstack.io/data/) [Frontend Development](https://thenewstack.io/frontend-development/) [Large Language Models](https://thenewstack.io/llm/) [Security](https://thenewstack.io/security/) [Software Development](https://thenewstack.io/software-development/) [WebAssembly](https://thenewstack.io/webassembly/) OPERATIONS [AI Operations](https://thenewstack.io/ai-operations/) [CI/CD](https://thenewstack.io/ci-cd/) [Cloud Services](https://thenewstack.io/cloud-services/) [DevOps](https://thenewstack.io/devops/) [Kubernetes](https://thenewstack.io/kubernetes/) [Observability](https://thenewstack.io/observability/) [Operations](https://thenewstack.io/operations/) [Platform Engineering](https://thenewstack.io/platform-engineering/) CHANNELS [Podcasts](https://thenewstack.io/podcasts/) [Ebooks](https://thenewstack.io/ebooks/) [Events](https://thenewstack.io/events/) [Webinars](https://thenewstack.io/webinars/) [Newsletter](https://thenewstack.io/newsletter/) [TNS RSS Feeds](https://thenewstack.io/rss-feeds/) THE NEW STACK [About / Contact](https://thenewstack.io/about-and-contact-info/) [Sponsors](https://thenewstack.io/sponsors/) [Advertise With Us](https://thenewstack.io/sponsorship/) [Contributions](https://thenewstack.io/contributions/) [roadmap.sh Community created roadmaps, articles, resources and journeys for developers to help you choose your path and grow in your career.](https://roadmap.sh/?utm_source=The+New+Stack&utm_medium=Referral&utm_campaign=Footer) [Frontend Developer Roadmap](https://roadmap.sh/frontend?utm_source=The+New+Stack&utm_medium=Referral&utm_campaign=Footer) [Backend Developer Roadmap](https://roadmap.sh/backend?utm_source=The+New+Stack&utm_medium=Referral&utm_campaign=Footer) [Devops Roadmap](https://roadmap.sh/devops?utm_source=The+New+Stack&utm_medium=Referral&utm_campaign=Footer) © The New Stack 2026 [Disclosures](https://thenewstack.io/disclosure-guidelines/) [Terms of Use](https://thenewstack.io/terms-of-use/) [Advertising Terms & Conditions](https://thenewstack.io/advertising-terms-conditions/) [Privacy Policy](https://thenewstack.io/privacy-policy/) [Cookie Policy](https://thenewstack.io/cookie-policy/) FOLLOW TNS ![](https://www.facebook.com/tr?id=1244424359562950&ev=PageView&noscript=1) ![](https://px.ads.linkedin.com/collect/?pid=4664394&fmt=gif)
Readable Markdown
[Programming languages](https://thenewstack.io/which-programming-languages-use-the-least-electricity/) aren’t necessarily controversial but [Python’s Global Interpreter Lock (GIL)](https://thenewstack.io/python-to-drop-the-global-lock-for-greater-parallelism/) is a hotly debated topic. The GIL continues to bind Python’s thread of execution to one CPU causing bottlenecks and delays. So why do we still need the GIL and what’s the workaround? ## What Is the GIL? Python’s GIL, and [Python](https://thenewstack.io/pythons-gil-multithreading-and-multiprocessing) as a language predates this multi-CPU world we live in currently. The first multicore processor was created in the early 2000s, about 10 years after the birth of Python. Before adding multiple cores to a machine was best practice, the premier way to speed up a system was to enhance the system’s single CPU. This meant that at the time of Python’s creation, the language was always tied to a single CPU. Here’s where the GIL did (and does) came in handy. Python’s memory management isn’t thread-safe. This means two threads can’t access the same memory at the same time without risking data corruption. So even back in the days when all CPU bound tasks took place on a single CPU, it was imperative that not only was there order, but that the developer determined the order of operations rather than the CPU or luck. With the GIL acting as a giant lock, the thread of execution remained aligned with the developer’s plans and memory safety persists. But now we live in a multicore world and Python is the language of choice for many compute heavy operations that might be better served by many CPUs so why not remove the GIL altogether? This process would require fundamental and breaking changes. Removing the GIL means changing Python memory handling. ## Python Multiprocessing and Multithreading Multiprocessing and multithreading are two ways to break the larger thread of execution into smaller threads. ### Multithreading For I/O intensive tasks, multithreading is a solid option. [Multithreading](https://thenewstack.io/wix-multithreaded-node-js-to-cut-kubernetes-pod-costs/) is the process when a processor executes multiple threads concurrently. The threads run concurrently and parallel to one another on the same CPU, thus sharing the same memory space within a parent process. Multithreading saves system memory, increases computing speed, and improves application performance. Responsive UIs are a use case that frequently use multithreading. Python supports multithreading via its threading module. The code snippet below includes the setup and execution of two threads. TRENDING STORIES | | | |---|---| | | import threading | | | def numbers(): | | | for i in range(1, 5): | | | print("Thread 1:", i) | | | def letters(): | | | for letter in \['a', 'b', 'c', 'd', 'e'\]: | | | print("Thread 2:", letter) | | | \# Create threads | | | thread1 = threading.Thread(target=numbers) | | | thread2 = threading.Thread(target=letters) | | | \# Start threads | | | thread1.start() | | | thread2.start() | | | \# Wait for threads to finish | | | thread1.join() | | | thread2.join() | | | print("Example Complete.") | `numbers()` and `letters()` both represent a task section that was separated into its own thread. The next step was to create a `Thread` object with the target function for execution. The \`start()\` method started each thread and the `join()` method waited for the threads to finish executing before moving the program forward. There are downsides to multithreading. Multithreading is still bound by the GIL’s functionality. The code itself can be more challenging to read leading to tougher troubleshooting and debugging processes. Multithreading processes can’t be interrupted. ### Multiprocessing Multiprocessing is how Python developers can work outside of the limitations of the GIL. This makes it a great choice for CPU intensive tasks. It’s more cost effective and efficient than single processor systems. Multiprocessing is similar to threading, but the workload is spread across multiple CPUs with each additional CPU furthering the speed, power, and memory capacity. Multiprocessing requires more memory storage than threads to move data between processes. An inter-process communication (IPC) model must be implemented to share objects between processes. There’s also a Python module that supports multiprocessing. Though different than multithreading, the code looks very similar. ### Fear not\! Even with the GIL you won’t have to process billions of data points one at a time with multithreading and multiprocessing on the job. Just a quick [Google](https://cloud.google.com/?utm_content=inline+mention) search will reveal thousands of searches about the GIL and who does/ doesn’t want it gone. It is by far Python’s most controversial topic. Created with Sketch.
Shard197 (laksa)
Root Hash5306194916123425997
Unparsed URLio,thenewstack!/pythons-gil-multithreading-and-multiprocessing/ s443