7.09.2025 состоялся релизPithon 3.14!
На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками.
Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный.
Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0
Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает:
▫️ соберет релизный Python 3.14 в новый Docker-образ
▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter)
▫️ распечатает результаты
Тест очень простой, усложняйте сами)
Вот какие результаты у меня:
=== Running ThreadPoolExecutor GIL ON
TOTAL TIME: 45.48 seconds
=== Running ThreadPoolExecutor GIL OFF
TOTAL TIME: 6.14 seconds
=== Running basic Thread GIL ON
TOTAL TIME: 45.54 seconds
=== Running basic Thread GIL OFF
TOTAL TIME: 4.74 seconds
=== Running with Multi Interpreter
TOTAL TIME: 18.30 seconds
Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами.
Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵💫, нас учили не так!
Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL.
Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется.
Отдельно я затестил память и вот что вышло на 32 потока:
ThreadPoolExecutor GIL ON
305.228 MB
ThreadPoolExecutor GIL OFF
500.176 MB
basic Thread GIL ON
90.668 MB
basic Thread GIL OFF
472.444 MB
with Multi Interpreter
1267.788 MB
Пока не знаю как к этому относиться)
В целом - радует направление развития!
#release
🥇🏆 The Moment of Glory!
A proud scene from the podium at the Asian Cadet Fencing Championships – Kuala Lumpur 2025 🇲🇾⚔️
From Hong Kong to Kazakhstan and Uzbekistan, fencers shined with skill, passion, and true sportsmanship 💪
Congratulations to the Men’s Foil medalists on an outstanding performance and well-deserved victories! 👏
🥇 HO Shing Him Harris 🇭🇰
🥈 LAM Ho Long 🇭🇰
🥉 NURUMOV Galim 🇰🇿
🥉 MOLINA Ilyas 🇺🇿
#Fencing#AsianFencing#MensFoil#KualaLumpur#FencingAsia#Championships#FencingSpirit
Cadet Asian Cup 2025 — Tashkent, Uzbekistan 🇺🇿
✅ Day 1 Results — Cadet Women’s Sabre
1️⃣ RUZIEVA Salima 🇺🇿
2️⃣ KHUSANBOEVA Bibiaisha 🇺🇿
3️⃣ ISKHAKOVA Nailya 🇰🇿
3️⃣ MAUINBERGENOVA Perizat 🇺🇿
👏 Congratulations to the winners and all participants!
👉 Stay tuned and follow us for daily updates!
#CadetAsianCup#FencingAsia#FCA#FIE#Tashkent2025#Sabre#Fencing#AsiaFencing
Cadet Asian Cup 2025 — Tashkent, Uzbekistan 🇺🇿
✅ Day 1 Results — Cadet Men’s Foil
1️⃣ ALBUSAIDI Ali 🇴🇲
2️⃣ CHEONG Pak Kio 🇲🇴
3️⃣ YETSEU Mansur 🇰🇿
3️⃣ TOKANOV Yevgeniy 🇰🇿
👏 Congratulations to the winners and all participants!
👉 Stay tuned and follow us for daily updates!
#CadetAsianCup#FencingAsia#FCA#FIE#Tashkent2025#Foil#Fencing#AsiaFencing
⏳ Countdown is on!
Only 26 days left until one of Asia’s biggest fencing showdowns! 🌏🤺
📍 Bali – Indonesia
📆 June 17–23, 2025
🏆 Senior Asian Fencing Championship
Top athletes are getting ready for an electrifying competition!
Stay tuned for full access 📸 and live highlights from the heart of the action 🎥🔥
#Fencing⚔️#Bali2025#AsianChampionship
#FCA#FIE#SeniorAsianFencingChampionship2025
#Indonesia#FencingAsia#Countdown
🏆 Asian Senior Fencing Championship – Bali 2025 🗡️
This is where legends are forged ✨
Where pleasure 🎉, dignity 🛡️, and the spirit of competition 🔥 collide!
The thrill of victory 🥇, the clash of steel ⚔️, and the soul of competition 🏃♂️
All in one place — glory carved in blades, legends born in every touch ⚡
#Bali welcomes the elite 🤺
#AsianFencingChampionship 2025 🌏
#FCA#FencingAsia#Bali2025
#FencingPower#BladesOfGlory#Honor#AsianFencing
🌴 Bali – where stunning beaches and rich culture come together!
✨ Relax by the ocean, explore vibrant local life, and feel the magic of sacred temples.
🏝️ This June, experience the Asian Senior Fencing Championships 2025
⚔️ World-class fencing meets unforgettable views!
📅 June 17–23
📍 Bali, Indonesia
#AsianFencingChampionships
#FencingAsia
#Bali2025
#Indonesia
#FCA#FIE
#Fencing#SportsTravel
#NatureAndSport#EpicViews
🔟 Only 10 Days to Go!
The countdown has begun for Asia’s ultimate fencing spectacle ⚔️🌏
Get ready as the 2025 Asian Senior Fencing Championships land on the breathtaking island of Bali! 🌺🌴
📍 Bali, Indonesia 🇮🇩
📅 June 17–23, 2025
⏳ Seven days. One stage. Endless glory.
✨ Witness:
⚡ Elite fencers from across Asia battle for supremacy
🔥 Unforgettable showdowns & rivalries reborn
🥇 New legends rising — champions forged in every bout
🎯 Precision. Passion. Power. Every point is everything.
📡 Stay tuned for:
🔴 Live updates
🎞️ Daily highlights
🎥 Behind-the-scenes action
📸 Exclusive content you won’t want to miss!
🚀 The road to greatness starts now — and it leads through Bali.
Don’t just watch history… be part of it.
🔽 Follow us & gear up for the fight of the year!
#AsianFencing#Bali2025#UnleashTheBlade
#CountdownToGlory#FencingAsia#SeniorFencing
#ChampionsRise#BladesOfAsia#FIE#TopFencers
#Indonesia#FencingElite#RoadToVictory#AFC