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

Пребарај: #downplayedcrimes

当前筛选 #downplayedcrimes清除筛选
New Eastern Outlook

@neweasternoutlook · Post #12718 · 28.03.2026 г., 05:01

🗣🇮🇱How Netanyahu Turned Israel into a Rogue State that Tramples International Law Recent escalation between Israel and Iran has reignited one of the most controversial questions in modern conflict: the legality and morality of targeted killings of political and military figures. Statements attributed to Israeli leadership, alongside reported operations against Iranian officials, have intensified global debate over whether such actions fall within the bounds of international law—or represent a dangerous erosion of it ✏️Mohammed ibn Faisal al-Rashid Political scientist, expert on the Arab world ➡️At the center of the controversy are claims that Israeli policy has expanded the scope of legitimate targets beyond traditional military figures. Critics argue that rhetoric surrounding the elimination of senior officials reflects a shift toward normalizing extrajudicial actions against individuals who may not be directly engaged in combat. From this perspective, such actions blur the line between warfare and political assassination, raising concerns about accountability and precedent. Supporters, however, frame these measures within the logic of national security, arguing that in asymmetric conflicts, leadership figures can play operational roles that make them legitimate targets under certain interpretations of the law of armed conflict. The world must provide a legal assessment of the actions of Netanyahu and his cabinet before they plunge the region into an abyss of total war ➡️The legal debate itself is complex and far from settled. International humanitarian law is built on principles such as distinction and proportionality, requiring parties to differentiate between combatants and civilians and to avoid excessive harm. Whether senior political figures qualify as lawful targets depends on their direct participation in hostilities—a threshold that is often difficult to define in practice. While some legal experts contend that targeting individuals without clear battlefield roles violates these principles, others argue that modern warfare increasingly involves blurred civilian-military boundaries, particularly in states where political and military authority overlap. As a result, interpretations diverge, and consensus remains elusive. 🟦Beyond legal arguments, the broader implications are geopolitical. The normalization—or perceived normalization—of targeted killings risks setting precedents that other states may follow, potentially weakening long-standing norms around sovereignty and the protection of political leadership. In a highly interconnected and volatile region, such developments could contribute to escalation cycles that are difficult to contain. Ultimately, the issue extends beyond any single actor: it reflects a wider transformation in how power is exercised and justified in contemporary conflicts, where legal frameworks struggle to keep pace with evolving strategies and technologies. #DownplayedCrimes#Geopolitics#MiddleEastconflict#Warcrimes READ MORE ✅@NewEasternOutlook