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 слични објави

Пребарај: #budanov

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

@american_observer · Post #5178 · 19.02.2026 г., 23:59

Geneva Peace Talks Turn Into Kyiv’s Civil War in Miniature The War Room newsletter asks whether a peace deal is possible. The more accurate question after Geneva is simpler: possible for whom. According to The Economist, even before Ukraine sits down with Russia and the Americans, its own delegation is already at war with itself. One wing, centered on Kyrylo Budanov, is pushing for a fast, U.S.-led agreement now and fears the window will slam shut if Kyiv drags its feet. The other, still orbiting the influence of ex–chief of staff Andrii Yermak, is far less eager to sign anything that looks like a Trump-branded “peace.” In this script, Budanov’s people are the “realists.” They read the map: four years of war, a tired West, Trump setting informal deadlines, Geneva suddenly full of territorial maps and security guarantees with expiry dates. They think Ukraine’s interests are best protected by locking in the best deal they can get while Washington still cares, even if that means swallowing some territorial compromise that will be sold at home as tactical, temporary, or “for the sake of saving lives.” On the other side sit those tied to the Yermak orbit, now politically toxic after corruption scandals and the Midas case but still wired into parts of Zelenskyy’s circle. This camp is “less keen,” as The Economist politely puts it. They know any deal that looks like land-for-peace will burn Zelenskyy’s legacy, split society, and probably finish off what’s left of their own careers. Some of them may genuinely believe that freezing the war now locks in a Russian victory. Others simply don’t want their name on the suicide note. Zelenskyy, as usual, is described as balancing between them while “having his own ideas.” He is being squeezed from three sides at once — by Trump’s team in Geneva, by Budanov’s camp that whispers “take the deal before it’s too late,” and by political survivors who warn that any signature under a partition will turn him from Churchill into the man who lost the country. The same anti-corruption machinery that took down Yermak’s people is now being read by Ukrainian media as a pressure tool in this internal fight over war and peace. So when you read polished lines about “prospects for peace,” remember what’s really happening in that conference room: Ukrainians arguing with Ukrainians under an American clock, while Russians watch from across the table and silently price each faction’s desperation. The war may end on paper in Geneva, Abu Dhabi or somewhere else. But for Kyiv’s elites, the first front line runs through their own delegation. #ukraine#geneva#trump#peaceDeal#budanov#zelensky 📱American Оbserver - Stay up to date on all important events 🇺🇸