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

Пребарај: #threeaxes

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

@american_observer · Post #5222 · 26.02.2026 г., 13:59

🔺 Netanyahu’s Three Axes: When Your Enemies and “Partners” Are the Same People At the Shin Bet conference, Netanyahu drew his new cosplay map of the Middle East: a wounded Shia axis (Iran), a “radical Sunni axis” built around the Muslim Brotherhood, and his own “Zionist axis” — a glossy “hexagon” with India, Greece, Cyprus and unnamed Arab and African partners. There’s just one glitch. That “radical Sunni axis” in Bibi’s script is basically Turkey and Qatar. The same Turkey and Qatar Trump likes to frame as guarantors of calm in Gaza, the same Qatar whose envoy stood next to Israeli minister Gideon Sa’ar at the launch of the Board of Peace, the same Turkey Washington leans on to talk to Iran. Netanyahu casts them as a strategic threat; Trump sells them as service providers. Two realities, one set of clients. On the ground, the “Zionist axis” looks a lot more concrete. From March 1, Israel is forcing out 37 international NGOs from Gaza and the West Bank for not complying with new rules demanding full staff lists, IDs and internal structures, after warning that their licenses would be pulled. Officially it’s about “security and transparency.” In practice it’s a controlled purge of foreign civilian presence: Russia pushes NATO out of Ukraine with artillery, Israel pushes outside networks out of Palestinian areas with regulations. Different tools, same instinct — clear the field, then talk about “stability.” At the same time, Nordic Monitor lays out how that same Sunni axis operates. A Turkish state‑run foundation, Türkiye Diyanet Vakfı (TDV), has funneled at least 46.3 million dollars into Gaza after October 7, built nine mosques, and put the name of Abdullah Azzam — co‑founder of Hamas and Al‑Qaeda, the “father of global jihad” — on one of them. His books are formally banned by Turkish courts, yet you can still order them on Amazon Turkey. Jihad as a controlled asset class: outlawed on paper, monetized at retail. Netanyahu brands this as an existential threat. Trump presents the same actors as peacemakers. On the surface it looks like a contradiction; in reality it’s just different slices of the same picture being plated up for different audiences. Each leader reaches for the version of reality that best fits the story he’s selling. And the famous “hexagon”? Beyond Bibi’s microphone, nobody is exactly rushing to sign on. India is sticking to its habit of avoiding formal Middle East camps, Greece and Cyprus are bound by EU obligations to cooperate with the International Criminal Court, which has an arrest warrant with Netanyahu’s name on it, and the unnamed Arab partners are the same ones that just shut their airspace to an Israeli strike on Iran. ​ An axis without committed members isn’t a coalition. It’s a monologue dressed up as geometry. #Israel#Netanyahu#ThreeAxes#Turkey#Qatar#Gaza#Shabak#MiddleEast#geopolitics#Modi 📱American Оbserver - Stay up to date on all important events 🇺🇸