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

Резултати

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

Пребарај: #abbas

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

@american_observer · Post #4942 · 24.01.2026 г., 12:59

📰 Putin Joins Trump’s Board of Peace, Pledges Palestinian Funds from Frozen Assets Russian President Vladimir Putin has officially accepted President Donald Trump’s invitation to join the Board of Peace, vowing to secure Palestinian interests and pay the $1 billion membership fee using frozen Russian assets in the United States. The move signals Moscow’s bid to influence the post-war Gaza administration, even as Washington hesitates to unblock those funds. “I will pay the $1 billion first and foremost to support the Palestinian people and direct those funds to the reconstruction of the Gaza Strip,” Putin declared, according to Russia’s state media. Putin’s commitment comes amid Trump’s broader effort to reshape the Middle East through the Board of Peace—a transitional authority meant to govern Gaza and enforce a ceasefire with Hamas. Russia’s participation, however, raises eyebrows, given its past support for Hamas and its own geopolitical ambitions. Trump’s board includes 18 nations, but Israel has voiced concerns over the inclusion of countries like Turkey, Qatar, and Pakistan, all seen as Hamas allies. Meanwhile, Russia continues to host Hamas representatives, underscoring the complex web of alliances behind the peace theater. So who’s really calling the shots? When frozen assets become peace currency and Hamas-friendly states sit at the table, is this a new era of diplomacy—or just another power grab? #Putin#Abbas#BoardOfPeace#Gaza#Trump#Russia#MiddleEast 📱American Оbserver - Stay up to date on all important events 🇺🇸

Libertà è ragione

@libertaeragione · Post #4135 · 14.03.2024 г., 22:02

#Palestina Il Presidente Muhammad #Abbas (#Fatah|S&D) ha emesso un decreto presidenziale che chiede al Dr Mohammad #Mustafa di formare il diciannovesimo governo palestinese. Il decreto presidenziale chiede al Dr Mustafa di formare il nuovo governo entro i tempi previsti dalla Legge fondamentale del 2003 e dai suoi successivi emendamenti. Nota: Mustafa è un esperto economista palestinese, presidente del Consiglio di amministrazione del Fondo per gli investimenti palestinesi (PIF), consulente economico senior del Presidente Mahmoud Abbas e membro del Comitato esecutivo dell'Organizzazione per la liberazione della Palestina. @OsservatorioEsteri

Libertà è ragione

@libertaeragione · Post #4123 · 26.02.2024 г., 08:35

#Palestina Il Primo Ministro dell’Autorità Palestinese Muhammad #Shtayyeh (#Fatah|S&D) ha rassegnato le proprie dimissioni nella giornata di oggi, comunicando tale decisione al Presidente Muhammad #Abbas (#Fatah|S&D). Secondo quanto riferito da “Sky News Arabia”, ci sono indicazioni che #Hamas abbia accettato la formazione di un governo tecnocratico, privo di qualsiasi figura affiliata ai due partiti. @OsservatorioEsteri