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

Резултати

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

Пребарај: #aussom

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

@addisstandardeng · Post #21216 · 28.01.2026 г., 05:45

#Somalia, #EU strengthen military cooperation in meeting between defence officials The Minister of Defence of the Federal Government of Somalia, Ahmed Moallim Fiqi, accompanied by the Chief of the Somali National Army, General Odowaa Yusuf Rageh, today held a meeting with the Chair of the European Union Military Committee, General Seán Clancy, who is visiting Somalia. The meeting focused on commending and strengthening military cooperation between Somalia and the European Union, particularly in the areas of troop training, the continuation of various forms of support, and the enhancement of national defence capabilities and #AUSSOM. The meeting was attended by the European Union Ambassador to Somalia, Ms Francesca Di Mauro, along with other senior officials from both sides. https://sonna.so/en/somalia-eu-strengthen-military-cooperation-in-meeting-between-defence-officials/

Addis Standard

@addisstandardeng · Post #21204 · 27.01.2026 г., 09:56

#Uganda announces plans to withdraw troops from #Somalia after 19 years Uganda has announced plans to withdraw its troops from Somalia after nearly two decades of continuous peacekeeping operations, a move that could have significant implications for regional security and the fight against the militant group #Al_Shabab. In a brief statement posted on X on Sunday, Uganda’s Commander-in-Chief of the Armed Forces, Gen. Muhoozi Kainerugaba, said the country’s military mission in Somalia had effectively ended and that preparations were underway for a full troop withdrawal. “After 19 years in Somalia, we intend to completely withdraw from that country very soon,” Muhoozi said, without providing further details or a timetable. Ugandan troops make up the largest contingent within the African Union Support and Stabilization Mission in Somalia, known as #AUSSOM, and have played a central role... https://www.hiiraan.com/news4/2026/Jan/204267/uganda_announces_plans_to_withdraw_troops_from_somalia_after_19_years.aspx

Addis Standard

@addisstandardeng · Post #21820 · 24.03.2026 г., 14:23

News: Amid deepening rift Southwest State accuses #Somalia’s fed. govt of diverting ‘#Egyptian weapons’ to militias Tensions between Somalia’s federal government and the #Southwest_State have escalated after the regional parliament speaker accused #Mogadishu of diverting weapons supplied by Egypt to local militias instead of using them against al-Shabab. In a statement posted on 21 March, Dr. Ali Said Fiqi, Speaker of the Southwest State Parliament, alleged that firearms provided by Egypt for national security purposes had been rerouted to armed groups operating in Burhakaba district. Egypt has in recent years increased its military cooperation with Somalia, including supplying weapons and preparing troop contributions to #AUSSOM, a new African Union-led mission replacing the previous peacekeeping framework. #Ethiopia had earlier urged the AU and the UN to ensure inclusive consultations with key stakeholders as plans advanced to deploy a new peacekeeping.... Read more: https://addisstandard.com/?p=56042

Addis Standard

@addisstandardeng · Post #21378 · 12.02.2026 г., 08:30

News: #Somali president witnesses #Egyptian troop deployment to AU mission in Somalia Somali President #Hassan Sheikh Mohamud has witnessed the formation of Egyptian forces assigned to the #African_Union Support and Stabilization Mission in Somalia (#AUSSOM), according to a report by Egypt Today, citing a statement from Egypt’s military spokesman. The formation ceremony was attended by Egypt’s Minister of Defense and Military Production Gen. Abdel Mageed Saqr, Chief of Staff Lt. Gen. Ahmed Khalifa, and senior Egyptian military commanders. The military spokesman said the visit included briefings on the preparation, equipping, and operational readiness of Egyptian troops designated for the mission. The program also featured training exercises and a display of vehicles intended for deployment, with officials stating the forces had completed intensive professional training to ensure.... https://web.facebook.com/AddisstandardEng/posts/pfbid02D7ibS3RJJRGZzoYDziFEYk4VKn5vmQXDQVkAtLaU2C4EuxFtVrj8HUbHXYrD4eFSl