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

Резултати

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

Пребарај: #nile

当前筛选 #nile清除筛选
Addis Standard

@addisstandardeng · Post #21196 · 26.01.2026 г., 14:53

News: #US Deputy Secretary of State begins regional tour in #Egypt, discusses #Nile water security US Deputy Secretary of State Christopher Landau on Sunday began a regional tour in Egypt, meeting with officials to discuss Nile water security, developments in the Horn of Africa, and efforts to secure a ceasefire in #Sudan. Landau held talks with Egypt’s Foreign Minister Badr Abdelatty in Cairo, where discussions covered political and economic cooperation, as well as developments in Sudan, the Horn of Africa, and the Nile water file, according to a statement from Egypt’s Foreign Ministry. No official statements have been released by the US State Department or the US Embassy in Cairo regarding the discussions between the two officials. Egyptian media reported that Abdelatty emphasized the Nile as a vital lifeline for Egypt, where citizens face severe water scarcity. .... https://www.facebook.com/AddisstandardEng/posts/pfbid0aVF6j8rAR7Hs6z3yaR2pCJbgwoxJ2X8Xrp7nsNwdrQMB78beBhjh6wyjE9QZtmUGl

Borkena

@borkena · Post #5735 · 20.01.2026 г., 06:56

The Nile’s New Folly: Why Ethiopia’s Return to the Negotiating Table May Spell Surrender, Not Success! (Commentary) https://borkena.com/2026/01/19/the-niles-new-folly-why-ethiopias-return-to-the-negotiating-table-may-spell-surrender-not-success-a-commentary/#Ethiopia#News#Egypt#Trump#Nile

Addis Standard

@addisstandardeng · Post #21191 · 26.01.2026 г., 10:59

#Commentary: When Mediation Becomes Intimidation: #GERD, Trump, and #Ethiopia’s sovereign rights The Grand Ethiopian Renaissance Dam (GERD) is now fully operational, shifting the Nile dispute from theory to practical governance and transforming Ethiopia’s energy sector. However, Hassen Mama Muse argues that this progress is threatened by “biased external interference,” particularly from #US President Donald Trump. He describes Trump’s renewed mediation offer as not a diplomatic opening but “a form of coercive diplomacy.” Hassen points to Trump’s rhetoric—labeling the dam as “stopping the #Nile” and suggesting #Egypt should “blow up the dam”—as clear evidence that he cannot act as “a neutral mediator.” Engaging in such a process, the author cautions, would force Ethiopia to “compromise” its lawful rights. https://addisstandard.com/?p=54740

Addis Standard

@addisstandardeng · Post #21639 · 07.03.2026 г., 07:57

The #Nile dam standoff is heating up, and #Israel is caught between allies – analysis #US President Donald Trump is widely admired in Israel for achieving what no other leader could: bringing home #Gaza hostages and imposing a ceasefire on what seemed to be an endless war. Now it appears the self-appointed head of the new Board of Peace may be about to challenge the odds again, this time with a planned plunge into the waters of the Nile. In January, Trump formally notified #Egyptian President Abdel Fattah al-Sisi that the US is renewing efforts to resolve the longstanding dispute between Egypt, joined by #Sudan, on the one hand, and #Ethiopia on the other, over the longest river in the world. The most noteworthy aspect of the planned mediation is that the US is firmly on Egypt’s side, as it had been in past US mediation, which Ethiopia broke off in 2020. This means that to make a Trumpian “deal,” the president’s instinct may be to try to use ....... https://www.jpost.com/jerusalem-report/article-888720

Addis Standard

@addisstandardeng · Post #21071 · 14.01.2026 г., 12:25

News: #Cairo expands military presence in #Somalia over fears breakaway Somaliland could enable #Israeli-#Ethiopian axis – The national #Egypt has broadened its military mission in Somalia, prioritizing the protection of Somali President Hassan Sheikh Mohamud’s government amid concerns that the breakaway region of #Somaliland could facilitate an Israeli-Ethiopian axis in the Horn of Africa, Abu Dhabi-based newspaper The National, citing its sources, reported. The report said Cairo’s expansion reflects fears that Israel’s recognition of Somaliland last month may give it a strategic foothold, potentially allowing coordination with Ethiopia, with which Egypt has long-standing disputes over #Nile waters. While some analysts downplay the risk of escalation, sources told The National that Egypt views Israeli and Ethiopian engagement in the Horn of Africa as a serious national security threat, particularly regarding the Nile and strategic maritime routes. Read more: https://addisstandard.com/?p=54540

Borkena

@borkena · Post #5849 · 24.02.2026 г., 21:13

The Foundational Elements for an Optimal Ethiopian Nile Basin Treaty Covering Water Allocation and Basin Management. Read more. https://borkena.com/2026/02/24/nile-the-foundational-elements-for-an-optimal-ethiopian-nile-basin-treaty-covering-water-allocation-and-basin-management/#NileBasin#Nile#Ethiopia#Egypt#water#river

Addis Standard

@addisstandardeng · Post #21305 · 04.02.2026 г., 11:08

#Opinion: Encircled and Exposed: #Berbera as #Ethiopia’s last strategic exit Ethiopia’s status as the Horn’s stabilizer has eroded, leaving the nation “constrained, exposed, and increasingly boxed in” by unfriendly neighbors, writes Mohamed Guleid. He cautions that #Djibouti, Ethiopia’s maritime lifeline, has compromised its neutrality by agreeing to host an #Egyptian military presence, while #Eritrea and #Somalia align with #Cairo over the #Nile dispute. Allowing adversaries to shadow its main supply route crosses a “strategic red line.” For a nation of 120 million, “diversification is no longer a luxury.” Guleid argues the solution lies in Somaliland, highlighting that the Berbera Port and its corridor are operational but underused. He notes, “Recognition of Somaliland would change Ethiopia’s position overnight,” expanding sea access, easing pressure, and restoring strategic leverage. https://addisstandard.com/?p=54982

12
ПретходнаСтраница 1 од 2Следна