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
Episode 16
The villa deck hums with sunlight, the ocean below impossibly clear — liquid turquoise stretching forever. He hits the water first, surfacing with a splash and boyish triumph, pushing wet hair from his eyes.
“Come on!” he calls, treading water, arms open like the sea is his idea.
She sits at the top of the slide, toes curled over the edge, laughter already bubbling in her chest. The world feels weightless up here — sky, water, horizon all blending into one endless promise. She looks at him, glowing down there, and shakes her head like she can’t believe this is real.
He cheers louder. She leans back, breath caught between thrill and trust — and lets go.
If you jump, I jump. Every lifetime.
📖 Read on Wattpad
🎧 Love, Lived I Album
#lovelived#lovelived2#theeverydaymagic
❤️ YouTube | Instagram ❤️
Episode 15
Thursday afternoons belong to sugar and sunlight. They don’t debate flavors anymore—she reaches for hers, he for his, like muscle memory. The shop owner already knows their order. They walk slowly, cones melting faster than planned, shoulders brushing, trading bites without asking. Workdays soften. The week exhales. Love tastes like something cold and sweet, shared halfway down the block.
Traditions are just love that learned the schedule. 🍦✨
📖 Read on Wattpad
🎧 Love, Lived I Album
#lovelived#lovelived2#theeverydaymagic
❤️ YouTube | Instagram ❤️
Episode 14
The kitchen smells like garlic and sun-warmed tomatoes. She stirs the pasta with one hand, dancing slightly to a morning playlist. He sits at the table, laptop open but eyes drifting. The new vase sits between them, holding sunflowers like a little sun of its own. He types. She tastes. The space hums—spoon clinks, keys click, love simmering in the background.
A bouquet, a bowl of pasta, and you across the table. Perfect.
📖 Read on Wattpad
🎧 Love, Lived I Album
#lovelived#lovelived2#theeverydaymagic
❤️ YouTube | Instagram ❤️
Episode 13
She wakes to the smell of something warm, sweet, familiar. The dining room glows—sunlight spilling in through the floor-to-ceiling glass wall, kissing every detail he carefully placed: fresh fruit gleaming in bowls, milk in a glass pitcher, her favorite breakfast dish plated like art, dessert waiting with a ribbon on the side, the sunflower-filled vase watching quietly.
He stands there—apron still crooked, cheeks a little pink.
“I want you to break your fast with your favorite dish made by me. I poured all my love into it. Happy birthday, my love.”
She doesn’t sit right away.
She hugs him first. Slow. Long. Like she tasted the love before the food.
This morning, love tasted homemade.
📖 Read on Wattpad
#lovelived#lovelived2#theeverydaymagic
Episode 12
The beach is empty—except for them. Lanterns flicker in glass jars, fairy lights drape over driftwood like fallen stars. A small table for two sits on a sand-carved rug, scattered with rose petals and sea breeze. She stops walking, hand over her mouth, dress brushing the shore. He watches her—not the waves, not the lights—her. She turns, eyes glossy, and breathes, “This feels unreal.” He smiles. “Then we’re right on time.”
The world paused—so we could celebrate you.
📖 Read on Wattpad
#lovelived#lovelived2#theeverydaymagic