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

Резултати

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

Пребарај: #afnm

当前筛选 #afnm清除筛选
Borkena

@borkena · Post #5752 · 28.01.2026 г., 18:07

Lessons Amhara Fano National Movement (AFNM) Can’t Ignore. Read more. https://borkena.com/2026/01/28/ethiopia-lessons-amhara-fano-national-movement-afnm-cant-ignore/#Ethiopia#Fano#AFNM

Hashtags

Borkena

@borkena · Post #5779 · 14.02.2026 г., 18:03

Strategic Dynamics of the Ethiopian Federal Government and AFNM (Fano): A Military–Political Analysis. Read more. https://borkena.com/2026/02/14/ethiopia-strategic-dynamics-of-the-ethiopian-federal-government-and-afnm-fano-a-military-political-analysis/#Ethiopia#politics#AFNM#Amhara

Addis Standard

@addisstandardeng · Post #21740 · 16.03.2026 г., 16:37

News: Amid voter registration in #Amhara region, Fano warns political parties, others against participating in elections As voter registration continues in the Amhara Region ahead of the 1 June general elections, the Amhara #Fano National Movement (#AFNM) has issued a sweeping warning to political parties, media figures, religious leaders, civic associations & other institutions, saying any involvement in the electoral process will be viewed as aligning with the federal government’s agenda. It warned that any entity assisting the election process in any way would be “considered enemies of the Amhara people equal to the government.” The Fano statement said that institutional leaders, media personalities, religious fathers, civic associations & political parties that “escort this fraudulent tactic” are demonstrating either collaboration with what it described as the government’s strategy or “extreme subservience.” The National Election Board of #Ethiopia..... Read more: https://addisstandard.com/?p=55899

Borkena

@borkena · Post #5920 · 04.03.2026 г., 08:27

የአማራ ፋኖ ብሔራዊ ንቅናቄ (አፋብን) በምስራቅ አርሲ ሀገረ ስብከት ስር በሚገኙ ወረዳወች ነዋሪ የሆኑ የቤተ ክህነቷ ታላላቅ አባቶች፣ ካህናት እና ምዕመናን ላይ በደረሰባቸው ጭፍጨፋ ከፍተኛ ሀዘን የተሰማው መሆኑን ገለፀ። ሙሉ መግለጫው ከላይ ተያይዟል። #Ethiopia#Oromia#Arsi#AFNM#Ethiopiannews#news#ዜና

Addis Standard

@addisstandardeng · Post #21763 · 18.03.2026 г., 15:30

#Ethiopia: #AFNM seeks clarification from #ICE over “Tier III terrorist group” reference to Fano Amhara Fano National Movement (AFNM) has formally requested clarification from the U.S. Immigration and Customs Enforcement after the agency publicly referred to “#Fano” as a “Tier III terrorist group” in a recent statement. In a statement posted on its official platforms, ICE said its Phoenix officers deported #Solomon_Bogale on 5 March after he was denied immigration benefits. The agency stated it had identified multiple social media accounts in which Bogale “openly identified himself as a member of Fano, a Tier III terrorist group.” It further alleged that his posts called for persecution and violence against Tigrayans, including references to “cleansing” them from Ethiopia. In a letter, addressed to Todd M. Lyons, a senior official performing the duties of ICE director, AFNM Chairman Zemene Kassie said the wording has “generated understandable questions” Read more: https://addisstandard.com/?p=55942

Addis Standard

@addisstandardeng · Post #21608 · 04.03.2026 г., 12:29

Analysis: How #national army battlefield report, #Fano statements in Feb–March lay bare the persistence and intensity of ongoing war in #Amhara region More than two and a half years after the armed confrontation erupted in #Ethiopia’s Amhara region in April 2023, developments from early 2026 underscore not only the persistence of the war but also its deeply complex nature. Military briefings issued on 03 March by the Ethiopian National Defense Force (#ENDF), and by the Amhara regional state media outlet on 01 March, both of which came two weeks after a statement released by Amhara Fano National Movement (#AFNM) on 14 February 2026, illustrate a war defined as much by clashing narratives as by sustained fighting on the ground. The statements also reveal parallel & mutually exclusive interpretations of the same war, each claiming momentum, legitimacy, and popular support, directly contradicting earlier official assurances of imminent victory and casting,..... Read more: https://addisstandard.com/?p=55536

Borkena

@borkena · Post #5852 · 25.02.2026 г., 07:34

በሰሜን ወሎ ዞን ሲሪንቃ ከተማ በተፈፀመ የከባድ መሳሪያ ጥቃት የአባትና ልጅ ህይወት አለፈ። የመንግስት ጦር በአካባቢው በፈፀመው የከባድ መሳሪያ ጥቃት አንድ የ65 አመት አባት እና የ23 አመት ልጃቸው መገደላቸውን የአካባቢው ነዋሪዎች ለቦርከና ተናግረዋል። ነዋሪዎቹ ለቦርከና በሰጡት አስተያየት የከባድ መሳሪያ ጥቃቱ በመኖሪያ ቤት ላይ መድረሱን ገልፀዋል። ሁለቱ ግለሰቦች ህይወታቸው ያለፈው በቤት ውስጥ ስለነበሩ እንደሆነ ገልፀው፣ ሌሎች የቤተሰብ አባላት ከቤት ውጭ በመሆናቸው ከጥቃቱ መትረፋቸውን አስረድተዋል። ከአባትና ልጁ በተጨማሪ በቤት ውስጥ የነበሩ እንስሳቶቻቸው ተገድለዋል ተብሏል። በአካባቢው የነበረው ተኩስ ከባድ እንደነበር የገለፁት ነዋሪዎቹ፣ ከአዲስአበባ እና ከደሴ የመጡ ተጓዦች መንገዱ በግጭቱ ምክንያት በመዘጋቱ ህይወታቸውን ለማትረፍ ከተሽከርካሪ ወርደው በመኖሪያ መንደሮች ለመግባት መገደዳቸውን አብራርተዋል። የአይን እማኞቹ የከባድ መሳሪያ ጥቃቱ የደረሰው ሰሞኑን የፋኖ ሀይሎች በወልዲያ ዙሪያ ሰፍሮ በሚገኘው የመከላከያ ሀይል ላይ ጥቃት ማድረሳቸውን ተከትሎ መሆኑን ገልፀዋል። በዚህ ጦርነት ከታጣቂዎቹ ከፍተኛ ጉዳት የደረሰበት የመንግስት ጦር በወሰደው የአፀፋ እርምጃ ነው ንፁሃን ዜጎች ህይወታቸው ያለፈው ተብሏል። #Ethiopia#EthiopianNationalDefenceForce#AFNM#fano#AbiyAhmed#BirhanuJulla#news#መከላከያ#ፋኖ#ዜና

Borkena

@borkena · Post #6026 · 15.03.2026 г., 20:11

ፋኖ የፖለቲካ ፓርቲዎች ራሳቸውን ከምርጫ እንዲያገሉ አሳሰበ። ሙሉ መግለጫው ተያይዟል። #Ethiopia#Ethiopian_news#news#AFNM#Election#NEBE#ምርጫ2018#አፋብን#ፋኖ#ዜና#ቦርከና_ዜና