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

Резултати

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

Пребарај: #militarisation

当前筛选 #militarisation清除筛选
Russian MFA 🇷🇺

@MFARUSSIA · Post #28048 · 19.01.2026 г., 17:06

🎙 Briefing by Russia's Foreign Ministry Spokeswoman Maria Zakharova (Moscow, January 15, 2026) 🔹News conference by Russia's Foreign Minister Sergey Lavrov 🔹#KievRegimeCrimes 🔹Ukraine crisis 🔹Torchlit procession in Lvov 🔹London’s aggressive anti-Russia line 🔹On the destruction of the monument to Soviet heroes in the Czech Republic 🔹Certain statements by the Yad Vashem leadership 📖Read 📺Watch *** #LavrovSchedule On January 20, Russia's Foreign Minister Sergey Lavrov will hold a high-profile news conference to review Russian diplomacy’s outcomes in 2025. The news conference will be livestreamed on the Ministerial website and social media and translated into English, French, and Spanish. #KievRegimeCrimes The neo-Nazi Kiev regime continues to reveal its terrorist nature. From January 1 to 12, at least 152 Russian civilians were affected by Ukrainian shelling and drone attacks. 45 people were killed, including 3 children. In the first minutes of 2026, in a premeditated attack, the armed forces of Ukraine used UAVs to hit a café and a hotel complex in the village of Khorly, Kherson Region, where families with children, a crowd of about 100 people, had come together to ring in the New Year. 29 people, including 2 children, were killed. The Foreign Ministry provided an assessment of this barbaric atrocity by Ukrainian neo-Nazis on January 1. #Ukraine#West The fact that the West has no genuine interest in ending the conflict – just as it showed no desire for peace from the outset – is clearly demonstrated by the uninterrupted operation of Rzeszów Airport in Poland. Since 2022, it has served as a key logistics hub through which a continuous flow of military cargo has been delivered to the Ukrainian Armed Forces. Observers note that the British and Canadian air forces, as well as private transport companies affiliated with the US military, are most active in these operations. The European NATO member states’ actions aimed at saturating Kiev with military and financial resources speak far more eloquently about their true intentions than any hypocritical statements about a desire for peace. These actions speak louder than words, declarations, or diplomatic rhetoric. #Britain#CoalitionOfTheWilling For several months, we have observed a consistent escalation by Britain of aggressive and belligerent rhetoric against Russia. For instance, on January 6 in Paris, on the sidelines of a gathering of the coalition of the willing, British Prime Minister Keir Starmer, alongside French President Emmanuel Macron and head of the Kiev regime Zelensky, signed a declaration of intent providing for the deployment of so-called multinational forces – in essence, Western occupation troops – to Ukraine under the guise of ensuring “future peace agreements.” ❗️ We must warn that any attempts to realise this criminal scheme with the coalition of the willing will leave responsibility for the lives of British subjects entirely on London’s shoulders. Our position remains unchanged and well-known – any foreign military contingents in Ukraine will be considered legitimate targets for the Armed Forces of the Russian Federation. The British component will be no exception. #Finland#Militarisation#BalticRegion On January 10, 2026, Helsinki’s decision to denounce the Convention on the Prohibition of the Use, Stockpiling, Production and Transfer of Anti-Personnel Mines and on their Destruction came into force. Russia views this decision by the Finnish authorities as yet another manifestation of their destructive policy to militarise the country. Russia reserves the right to respond to any hostile actions in a proportionate way, including by military and technical means, if necessary.

🎙 Briefing by Russia's Foreign Ministry Spokeswoman Maria Zakharova (Moscow, November 14, 2025) 🔹#KievRegimeCrimes 🔹Ukraine crisis 🔹Moldovan government’s decision to denounce seven CIS agreements 🔹Developments in El Fasher, Sudan 🔹The US counter-narcotics policy in Latin America 🔹Anti-Russian conference in Dublin 🔹G7 Foreign Ministers’ Meeting in Canada 📰Read 📺Watch #KievRegimeCrimes The neo-Nazi regime in Kiev continues to terrorise civilians in Russia. Over the past week, 53 Russian citizens suffered from artillery shelling and drone strikes, with 8 people killed and 45 injured, including six children. Russian courts continue to hand down sentences to Ukrainian neo-Nazis and mercenaries. In absentia, mercenaries from Georgia, Colombia, and the Czech Republic who participated in combat on the side of the Ukrainian Armed Forces have been sentenced to 28, 13.5, and 13 years in prison. #Ireland#EU#Militarisation Militaristic rhetoric of the [Brussels bureaucracy] finds fertile ground in Dublin, where the ruling coalition <…> is pursuing a course to revise constitutional restrictions on the participation of Irish service members in overseas missions. The Irish run the risk of becoming pawns in reckless geopolitical games of the Westerners (Anglo-Saxons), who are clearly acting against Russia, with all the negative consequences for [Ireland] that this entails. #US#LatinAmerica Since September 2025, we have been witnessing an unprecedented military campaign launched by Washington in Latin America under the pretext of allegedly combating drug-trafficking routes into the United States. We are extremely concerned by the military methods chosen by the United States to address this issue, which amount to little more than blatant interference in the internal affairs of Latin American states. We firmly oppose the use of force or the threat of force to interfere in internal affairs under various pretexts, including counter-narcotics operations. #AxisJapan#WarCrimes#NoStatuteOfLimitations We continue our work on disclosing information about the crimes of Japanese militarism. We have repeatedly emphasised that these crimes have no statute of limitations. Procedural actions aimed at bringing all those responsible to justice continue to this day. Between March and June, the Prosecutor General’s Office of the Russian Federation adopted decisions annulling the conclusions issued in the 1980s–2000s that had granted rehabilitation to 24 Japanese citizens. Following the review of court rulings in cassation and supervisory instances, it was established that these individuals are not subject to rehabilitation. Their guilt has been fully proven. #US#Tariffs From an economic standpoint, the introduction of 500% tariffs on goods from third countries that purchase Russian oil and gas seems absurd. This is tantamount to the discontinuation of all trade relations between countries, as such a tariff rate is prohibitive. Russian energy resources are supplied to dozens of states around the world, including Europe, the Asia-Pacific region, China, and India. It is downright impossible to substitute such volumes of oil and natural gas on the global market within reasonable timeframes. Those who call for [such measures] are likely unaware of the negative consequences this would have both for the United States itself and for the global economy as a whole. Moreover, such a step would be a gross violation of international trade law.