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 BLEEDING HEARTS OF ETHIOPIA'S MOUNTAINS** ❤️🔥
*Africa's Most Mysterious Primates*
High in Ethiopia's Simien Mountains lives one of nature's most enigmatic creatures - the Gelada baboon. Known as "bleeding heart monkeys," these remarkable primates carry a crimson badge across their chest.
primates carry a c💔 Red chest patches that intensify with emotion
🏔️ Only primates adapted to extreme altitude living
🌿 90% grass diet - nature's lawnmowers
👥 Largest primate gatherings on Earth
Gelada baboon. Know💰 Exclusive encounters: $6,000-10,000 per trek
📸 Photography expeditions with premium rates
🎬 Untold documentary potential
Found nowhere else on Earth, geladas represent millions of years of evolution. Their "bleeding hearts" aren't wounds - they're windows into Africa's most extraordinary survival story.
#GeladaBaboon#EthiopiaWildlife#SimienMountains
🦁 SIMIEN MOUNTAINS: WHERE LIONS WALK IN CLOUDS 🏔️
*Ethiopia's Kingdom Above the Clouds at 4,000+ Meters*
In the remote highlands of northern Ethiopia lies one of Africa's most spectacular wilderness areas - the Simien Mountains, where majestic lions roam at altitudes higher than most European peaks.
The Last High-Altitude Lions:
🌟 Altitude record: 4,620m - highest lion habitat on Earth
⚡ Population: Only 50-80 lions remain in this unique ecosystem
🏔️ Terrain: Dramatic escarpments, deep gorges, alpine meadows
Tourism Gold Rush:
• Exclusive experience: 99% of tourists never see high-altitude lions
• Photography paradise: Lions silhouetted against cloud-covered peaks
• Adventure tourism: $3,000-5,000 per expedition
The Simien Mountains offer what no other destination can - lions literally walking among clouds in Earth's most dramatic landscape.
#SimienMountains#EthiopianLions#AdventureTourism#WildlifePhotography
🦁 **SIMIEN MOUNTAINS: WHERE LIONS WALK IN CLOUDS** 🏔️
*Ethiopia's Kingdom Above the Clouds at 4,000+ Meters*
In the remote highlands of northern Ethiopia lies one of Africa's most spectacular wilderness areas - the Simien Mountains, where majestic lions roam at altitudes higher than most European peaks.
**The Last High-Altitude Lions:**
🌟 **Altitude record**: 4,620m - highest lion habitat on Earth
⚡ **Population**: Only 50-80 lions remain in this unique ecosystem
🏔️ **Terrain**: Dramatic escarpments, deep gorges, alpine meadows
**Tourism Gold Rush:**
• **Exclusive experience**: 99% of tourists never see high-altitude lions
• **Photography paradise**: Lions silhouetted against cloud-covered peaks
• **Adventure tourism**: $3,000-5,000 per expedition
The Simien Mountains offer what no other destination can - lions literally walking among clouds in Earth's most dramatic landscape.
#SimienMountains#EthiopianLions#AdventureTourism#WildlifePhotography
🐺 **THE LAST GUARDIANS OF ETHIOPIA'S HIGHLANDS** 🏔️
*Africa's Rarest Predator on the Edge of Extinction*
High in Ethiopia's Simien Mountains, where mist meets sky at 4,500 meters, lives the world's rarest wolf. Only 500 Ethiopian wolves remain - each one a living treasure of ancient Africa.
**The Numbers Tell the Story:**
⚡ **Population**: Less than 500 individuals left on Earth
🏔️ **Habitat**: Highest-altitude wolves in the world
🎯 **Hunting**: 90% success rate targeting giant mole-rats
💰 **Tourism value**: $8,000-12,000 per wildlife expedition
**Why This Matters:**
Every Ethiopian wolf represents millions of years of evolution. These apex predators maintain the delicate balance of highland ecosystems while creating premium eco-tourism opportunities worth millions to local communities.
*In Ethiopia's misty peaks, every wolf howl echoes the heartbeat of Africa's wild soul.*
#EthiopianWolf#EndangeredSpecies#SimienMountains#WildlifeConservation#EthiopiaWildlife
## ⛰️ THE ROOF OF AFRICA: WHERE EARTH TOUCHES HEAVEN
## ⛰️ የአፈሪካ ጋራ: ምድር ሰማይ የሚመሰከርበት
🌍 КОГДА ГОРЫ КАСАЮТСЯ НЕБЕС!
Simien Mountains — Ethiopia's crown jewel and UNESCO World Heritage site where ancient volcanic peaks pierce the clouds at 4,500 meters! ⛰️
🌅 THE DRAMATIC LANDSCAPE:
These jagged ridges were sculpted by millions of years of volcanic fury, creating one of Earth's most breathtaking panoramas.
*Эти зубчатые вершины — самый драматичный пейзаж на планете!*
*እነዚህ የተበዳደሩ አጫያዎች በዓለም ውስጥ የተሳከሩ ምብጣት ምክንያቶች ነው!*
Deep gorges plunge 1,500 meters below — called "the chess pieces of the gods" by locals for their dramatic, sharp pinnacles.
🐒 UNIQUE WILDLIFE:
Home to the endangered Gelada baboons — the "bleeding heart" monkeys found NOWHERE else on Earth!
*Самые редкие павианы в мире живут только здесь!*
*በዓለም አንደ ቦታ የሚገኙ የጋላዳ ብድንዎች እዚህ ብቻ ይገኛሉ!*
These gentle giants graze the highland meadows in massive troops, living peacefully at altitudes that would leave most humans breathless.
🌟 KUINDZHI'S VISION BROUGHT TO LIFE:
At sunset, these mountains transform into layers of gold and shadow — like stepping into a painting by the Russian master Arkhip Kuindzhi. Light becomes sculpture, air becomes canvas, and the soul expands infinitely.
*На закате горы превращаются в живую картину Куинджи!*
*በሰሙን መግረብ ጋታ አያቶች የኩይንዅጂ እሳት ይሆናሉ!*
This is Ethiopia. Where nature paints with light and shadows, where time stands still, and where every breath feels sacred.
📸Swipe through:
Photo 1-2: Real dramatic vistas → Photo 3: Algorithmic art in Kuindzhi style!
*Фото 1-2: Реальные панорамы → Фото 3: Алгоритмическое искусство!*
#SimienMountains#የሲሚኤንአያቶች#Ethiopia#ኢትዮጵያ#UNESCO#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#EthiopianHighlands#የኢትዮጵያአያቶች#MountainMagic
🇪🇹@ethiopia