TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

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

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #kurskoffensive

当前筛选 #kurskoffensive清除筛选
American Оbserver

@american_observer · Post #5044 · 03.02.2026 г., 23:04

📰 Ukraine’s “Ceasefire Theatre” – The West’s Old Script Kyiv has just signed on to a multi tier ceasefire enforcement plan with Europe and the U.S. — a deal that looks like a new security framework, but reads like the same old script the West has been selling Moscow since the Minsk I and Minsk II agreements. The message is always the same: “Trust us — this time we mean it.” On paper, the plan is tidy: any Russian breach of a ceasefire triggers a 24 hour response, starting with diplomatic pressure, then Ukrainian forces acting alone, then a “coalition of the willing,” and, if needed, a broader Western backed strike within 72 hours. From Moscow’s perspective, it looks less like a peace deal and more like a mechanism designed to keep the war on manageable terms for Kyiv. ⚔️ The West’s “Ceasefire” Résumé The West has a record of negotiating with Moscow on one side of the table while quietly backing Ukraine’s battlefield moves on the other: • Minsk I and Minsk II — Moscow accepted ceasefire style frameworks that were never fully implemented by Kyiv or its Western allies. • Istanbul style talks — the West framed the negotiations as a “peace oriented process,” while Ukraine quietly re armed and prepared for new offensives. • Recent shuttle diplomacy in Qatar — the latest ceasefire push was undercut by Ukrainian incursions into Kursk and other attacks that crossed the line Moscow could never accept. Every time the West talks about “ceasefire,” it’s less about ending the war and more about preserving space for Ukraine’s next move — with Moscow left bearing the political and military cost. 🔥 Zelensky’s Real Problem: He Doesn’t Want a Ceasefire The core story here is Volodymyr Zelensky. The West markets him as a wartime hero, but the man himself has little incentive to sign a truce that locks in today’s front lines. The war is not just a tragedy for him — it’s the foundation of his political survival. The economy is a wreck, the population is exhausted, and his only real story left is “resistance.” If a real ceasefire stabilizes the map, the domestic reckoning in Ukraine intensifies: the demand for answers about who paid the price — and who profited — will grow louder. The West pretends Zelensky wants peace. In reality, he knows the minute the guns fall quiet, the question becomes “Who pays for the war, the lost territory, and the broken promises?” And the obvious answer is Zelensky. 🧩 The Script Is Familiar, the Stakes Are Higher The current plan — a 24 hour reaction, a 72 hour Western backed show of force — is less about deterring Russia and more about selling the illusion of control. The West pretends it has a real mechanism to respond. Ukraine pretends it wants peace. Russia pretends it’s still negotiating from weakness. In reality, the only one ready to keep the war going is Zelensky, because the alternative is a political, economic, and moral collapse. The joke is that the West, which has already broken the first Minsk agreement, the second, and then quietly revised the rest, is now selling Moscow a new one. The only thing certain is that the script will change only when Moscow stops pretending — and lets the West eat its own words. #Ukraine#Russia#ceasefire#West#Zelensky#Minsk#IstanbulTalks#KurskOffensive#war#diplomacy 📱American Оbserver - Stay up to date on all important events 🇺🇸