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

Резултати

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

Пребарај: #mozambique

当前筛选 #mozambique清除筛选
POPULAR FRONT

@popularxfront · Post #4895 · 04.02.2026 г., 17:38

🇲🇿#Mozambique: IS-Mozambique (ISMP, Islamic State in Mozambique) released a video today claiming responsibility for an attack last Sunday targeting Mozambican military bases in the Katuba and Namapo areas of Cabo Delgado in the northern part of the country. As a result of the attacks, it is reported that nine Mozambican soldiers were killed. The militants also posted footage showing weapon caches and equipment they captured from the bases. (via @BrantPhilip_ on X)

Hashtags

Russian MFA 🇷🇺

@MFARUSSIA · Post #28776 · 19.03.2026 г., 12:59

⚡️Russia's EMERCOM: On March 19, a special flight of Russia's EMERCOM delivered humanitarian aid to the Republic of #Mozambique. By decision of Russia's President Vladimir Putin, following instructions from the Government of Russia and on the orders of EMERCOM Head Alexander Kurenkov, around 29 tonnes of humanitarian cargo were transported from Moscow. 🛬 An Il-76 aircraft delivered food, essential supplies, as well as tents and blankets for flood-affected communities in the African republic. #RussiaHelps

ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) ለሞዛምቢኩ ፕሬዝደንት ዳንኤል ፍራንሲስኮ ቻፖ ደማቅ አቀባበል አደረጉ ************** ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) በኢትዮጵያ ይፋዊ የሥራ ጉብኝት ለማድረግ የመጡትን የሞዛምቢክ ፕሬዝደንት ዳንኤል ፍራንሲስኮ ቻፖን በቦሌ ዓለም አቀፍ አውሮፕላን ማረፊያ በመገኘት በክብር ተቀብለዋል። የፕሬዝደንቱ ጉብኝት በሁለቱ ሀገራት መካከል ያለውን ዲፕሎማሲያዊ እና ኢኮኖሚያዊ ግንኙነት ወደ አዲስ ምዕራፍ ያሸጋግራል ተብሎ ይጠበቃል። ጉብኝቱ የሁለቱን ሀገራት ታሪካዊ ግንኙነት ወደ ላቀ ደረጃ የሚያሸጋግር ሲሆን፣ ኢትዮጵያ ለእውነተኛ አፍሪካዊ አጋርነት ያላትን የማይናወጥ ቁርጠኝነት የሚያረጋግጥ መሆኑን የጠቅላይ ሚኒስትር ጽ/ቤት አስታውቋል። #EBC#Ethiopia#PMOEthiopia#Mozambique#diplomacy

Reuters: World

@reutersworldchannel · Post #149314 · 13.10.2021 г., 16:57

The struggle for water in Mozambique's unstable north Aid agencies warn that a shortage of safe water, poor sanitation and inadequate medical services are a looming threat for the communities in Mozambique's Cabo Delgado province #News#Reuters#Mozambique#RedCross Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Russian MFA 🇷🇺

@MFARUSSIA · Post #27890 · 26.12.2025 г., 09:35

#RussiaHelps 💬Maria Zakharova: OnDecember 17 inMaputo (#Mozambique) and December 18 inLusaka (#Zambia), official ceremonies marking the delivery of Russian food assistance were held, attended by the Russian Ambassadors to these countries. 🇲🇿 Mozambique received 70 tonnes of vitamin-fortified sunflower oil for those in need. 🇿🇲 Zambia received a similar shipment of 93 tonnes, as well as 648 tonnes of yellow split peas. These humanitarian deliveries were carried out through the UN World Food Programme, funded by Russia’s voluntary contribution for African countries, which amounts to USD 10 million annually. Humanitarian assistance is an integral part of Russia’s support for its partners on the African continent, primarily aimed at helping the most vulnerable groups. 🇷🇺 Russia will continue to contribute to addressing Africa’s socio-economic challenges, using both bilateral assistance mechanisms and the potential of relevant international organizations. (Excerpt from Russian MFA Spokeswoman Maria Zakharova's weekly briefing on December 26)

AREA

@area_eng · Post #120 · 24.07.2025 г., 20:46

Russia and Mozambique may expand energy cooperation During a visit to Moscow, Mozambique Foreign Minister Maria Manuela dos Santos Lucas said that the country views Russia as a strategic partner in the development of the oil and gas sector. For Mozambique, which has the sixth largest natural gas reserves in Africa (about 100 trillion cubic feet), partnership with Russia is indeed of strategic value. Russian companies offer not only investments, but also unique competencies in the development of offshore fields, construction of gas transportation infrastructure and training of qualified personnel. Today, about 40% of Mozambican students in the Russian Federation are studying in specialties needed in the oil and gas sector. Despite Rosneft's withdrawal from the Mozambique LNG project in 2022, Russian companies remain interested in the region. In particular, Gazprom continues to explore the possibility of working on the Mozambican shelf. According to experts, there are several key vectors of cooperation between the parties. This could be the creation of an LNG cluster using Russian technologies, joint projects for gasification of Mozambique regions, as well as the development of educational programs for training personnel. #AREA#Africa#Russia#RussiaAfrica#energy#Mozambique