🐍 Python 3.14 is here – and it’s fast! Miguel Grinberg benchmarked Python 3.14 against previous versions, plus PyPy, Node.js, and Rust. The results show: ⚡ Python 3.14 runs ~27% faster than 3.13. 🔥 PyPy remains nearly 5× faster than CPython. 💪 Rust still leads the pack, but CPython keeps closing the gap. Miguel also tested the new JIT and Free-Threading interpreters, highlighting ongoing progress in multi-threaded performance. Read the full benchmark breakdown here 👇 👉 https://lnkd.in/e4r26E-c
Bradley Hunn’s Post
More Relevant Posts
-
Python 3.14 recently got released and there's some major performance improvements according to the patch notes and various benchmarks, it'll be interesting to see how these improvements translate to z/OS once it gets ported over. Python has had a ton of performance improvements the last few years, the complaint that Python is slow was always kind of misplaced imo but at this point there's very little truth in it (if you use it for automation and data analysis, still not a good language for major business applications) https://lnkd.in/dX5R_H8b
To view or add a comment, sign in
-
Is Python still "too slow" in 2025? 🤔 After 27 years with Python (yes, since 1998!), I've heard this debate countless times. While my career has led me through C++, Go, and Rust, I'm continually impressed by Python's evolution, especially in performance. The legendary Miguel Grinberg (of Flask Mega-Tutorial fame) just dropped an insightful analysis on the upcoming Python 3.14, and it's a must-read. He dives into the new JIT compiler and what it really means for speed. Check out his findings here: https://lnkd.in/dGXk3nDa This is required reading for anyone who still thinks Python can't keep up.
To view or add a comment, sign in
-
Python 3.14 was released two weeks back and introduces many enhancements - such as template strings (t-strings), support for zstd compression etc. However one of the most anticipated features is the introduction of free-threaded Python runtime which is officially supported from this release. This brings us one big step closer to true CPU concurrency with multiple threads in #Python, and breaking away from the dreaded GIL. In this article I discuss examples that demonstrate true CPU concurrency with #GIL free Python using Python 3.14. https://lnkd.in/gT5QFUFE
To view or add a comment, sign in
-
🐍 The future of Python web services looks GIL-free | Fluxus by gi0baro 「 The implementation is now completed, meaning that the workarounds introduced in Python 3.13 to make code sound without the GIL are now gone, and the free-threaded implementation now uses the adaptive interpreter as the GIL enabled variant. These facts, plus additional optimizations make the performance penalty now way better, moving from a 35% penalty to a 5-10% difference 」 https://lnkd.in/dREPb6nv #python #concurrency
To view or add a comment, sign in
-
Python’s GIL is on its way out! One of the most controversial features in Python is finally taking a turn. On October 7 — while we (Israelis) were occupied with more important things — Python released version 3.14, which now lets you install CPython (the official Python) without the GIL. A PEP is basically a design document for features people want to add to Python (anyone can write one). PEP 703 passed the second stage of the council — meaning it’s a stable feature that ships with Python, just not as the default yet (that’s stage 3). So why did the GIL annoy so many people? Basically, because it disturbs asynchronous and parallel work. In Python with GIL, you can’t do multi-threaded parallel work — the lock (GIL = Global Interpreter Lock) blocks it. It was originally done this way to avoid complex thread-safety issues and make the single thread python faster, but it came with a price people we'rent happy to pay. With the new feature, a single thread actually runs a bit slower — but multi-threaded, CPU-intensive tasks run way faster! Beyond the performance boost, it’s just amazing to see how one of the most hated parts of Python — that survived 35 years — is finally being retired. Nothing lasts forever.
To view or add a comment, sign in
-
-
Just read an insightful piece on how Python’s Global Interpreter Lock (GIL) might soon be a thing of the past — unlocking true multi-threaded performance for web services. If you're building scalable Python apps, this shift could be a game-changer. https://lnkd.in/gg4xhTtU #Python #WebDevelopment #TechTrends #AsyncPython #GILFreeFuture
To view or add a comment, sign in
-
Advanced Static Typing in Python: How to type a Decorator In this article I walk the journey from untyped, to basic typing, to TypeVars aka Generics, and lastly how to accurately specify the type of a Decorator (a function that takes and returns a function). Disclaimer: As always, if you want anything resembling compile time safety in Python, you need to run a static analyzer like mypy, otherwise your annotations are worthless. https://lnkd.in/eE47kumT
To view or add a comment, sign in
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Waiting for the version when beating Rust!