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 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
## 🐺 THE SWEET SECRET OF ETHIOPIAN WOLF: NATURE'S RAREST CANID
## 🐺 የኢትዮጵያ ዝዕብ መስጠር: የተፈጥሮ የታታ እንሰሳ
🌸 КОГДА ХИЩНИК ЛЮБИТ СЛАДКОЕ!
Meet Africa's rarest canid — the Ethiopian wolf. Only 500 individuals remain in the world, found NOWHERE else on planet Earth! 🌍
🏞️ THE EXCLUSIVE HABITAT:
These magnificent predators live only in Ethiopia's highlands — Simien and Bale Mountains — where their reddish-golden fur glows like fire in the sunset light.
*Рыже-золотая шерсть сияет как огонь на закате!*
*የፊያ-ዋሪራው ምስዚው በሰሙን መግረብ በክትት እናት ይችጋል!*
🌸 THE SWEET DISCOVERY:
Here's the secret scientists discovered — these apex predators have a SWEET TOOTH! Ethiopian wolves visit giant Red-hot Poker flowers (Kniphofia) to lick nectar for glucose energy in the thin highland air.
*Учёные открыли: волки любят сладкий нектар!*
*የሳይንስ ልምዓን ገለጫቹ: ዝዕቦች ሳኳ ከማቃ ይፈልጋሉ!*
Imagine: a fierce hunter perfectly adapted to chase rodents at 4,000 meters altitude, pausing gently to lick sweet nectar from vibrant orange blooms.
*Представьте: свирепый охотник нежно слизывает нектар с цветка!*
Nature's poetry!
⚡ WHY THIS MATTERS:
This behavior reveals the deep connection between predator and plant, hunter and flower.
*Глубокая связь между хищником и растением!*
*በእንሰሳ እና ዕጥዋት ማካከል የተፈጥሮ አጋጣጠን!*
In Ethiopia, even wolves understand the sweetness of life.
🌅 KUINDZHI'S GOLDEN HOUR:
At sunset, when light paints everything in warm tones, the Ethiopian wolf becomes a living artwork — like stepping into Kuindzhi's masterpiece where every shadow tells an ancient story.
*В золотой час волк становится живой картиной!*
*በዋሪራ ሰዓት ዝዕብ የተገለጻ የእሳት እን፤ቤቶች ይሆናል!*
📸 Swipe through:
Photo 1: Wolf licking nectar (TONGUE VISIBLE!) → Photo 2: Artistic shot → Photo 3: Kuindzhi algorithmic art!
*Фото 1: Волк с языком! → Фото 3: Алгоритмическое искусство!*
#EthiopianWolf#የኢትዮጵያዝዕብ#Ethiopia#ኢትዮጵያ#EndangeredSpecies#የተዘገጡእንሰሳቶች#Wildlife#የብራት#Nectar#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#RareBeauty
🇪🇹@ethiopia
# 💦 TIS ISSAT: THE SMOKING WATER OF BLUE NILE
## 💦 ጥስ ኢሳት: የገባዊ አባይ ተሥታት ውሃ
🌊 КОГДА ВОДА ПОЁТ И ДЫШИТ!
Blue Nile Falls — one of Africa's most powerful waterfalls! Locals call it "Tis Issat" meaning "Smoking Water" because of the massive spray that creates a permanent rainbow in the mist. 🌈
⚡ THE UNSTOPPABLE POWER:
During rainy season, over 400,000 cubic meters of water PER SECOND crash down 45 meters! The thunderous roar echoes for kilometers.
*400,000 кубометров воды В СЕКУНДУ!*
*በሳምንት 400,000 ኩብ ሜትር ውሃ የሚወርድ!*
The earth trembles, the air fills with mist, and nature reminds us of her eternal strength.
🌈 THE RAINBOW MAGIC:
A perpetual rainbow dances in the waterfall's mist throughout the day when sunlight breaks through.
*Вечная радуга танцует в тумане!*
*የመቀጠል ቋቅደም በመታት ውስጥ ይየጫል!*
Nature's own light show, playing since the beginning of time!
🏞️ 4,000 YEARS OF HISTORY:
These falls have witnessed Ethiopian civilization since ancient times. Emperors stood here, poets wrote verses, lovers made eternal promises.
*Вода падает уже 4000 лет, равнодушная к времени!*
*የውሃ አባይ ከታና ኦዛ እስከ ማዲተራኔአን በመወረድ ይጋዝ!*
The water keeps falling, eternal in its journey from Lake Tana to the Mediterranean Sea.
☀️ KUINDZHI'S VISION ALIVE:
When dramatic light breaks through storm clouds — god rays illuminating the sacred waters — it's like witnessing Kuindzhi's masterpiece come to life. The Russian master painted light as sculpture; here, nature does the same!
*Божественные лучи как в картине Куинджи!*
*የእገዚአብሄር ልመዶች እናት ኩይንዅጂ እሳት!*
This waterfall doesn't just fall — it sings, it breathes, it lives. It's the heartbeat of the Blue Nile, the pulse of Ethiopia! 💙
📸Swipe through:
Photo 1-2: Real waterfall power → Photo 3: Kuindzhi algorithmic art with god rays!
*Фото 1-2: Реальная мощь → Фото 3: Алгоритмическое искусство!*
#BlueNileFalls#የገባዊአባይጠራጣ#TisIssat#ጥስኢሳት#Ethiopia#ኢትዮጵያ#Waterfall#የውሃአባይ#Rainbow#Kuindzhi#AlgorithmicArt#የአልገሪዝምእሳት#NaturalWonder#የተፈጥሮአግጣጠን
🇪🇹@ethiopia