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 слични објави

Пребарај: #indiarussia

当前筛选 #indiarussia清除筛选
Маниш Кумар 🇷🇺🇮🇳

@manishkumar_ru · Post #115 · 21.08.2025 г., 17:46

🇮🇳🤝🇷🇺 Strengthening India–Russia Trade On August 18, we hosted a business meeting at the Moscow Chamber of Commerce and Industry with the FICCI delegation. ✔ Bilateral trade has reached $67B — discussions at Innoprom 2025 aim to expand it to $100B. ✔ Opportunities for India in energy, manufacturing, agriculture, and textiles. ✔ Addressing the trade imbalance and exploring a Rouble–Rupee exchange mechanism. Recently, I shared India’s perspective on RBK TV after the US imposed a 25% duty on Indian goods: > “India, as the world’s 4th largest economy, has the right to protect its strategic sovereignty.” A strong Indian business presence in Moscow reflects our shared commitment to deeper economic cooperation. #IndiaRussia#Trade#FICCI#MCCI#SoltexGroup

Маниш Кумар 🇷🇺🇮🇳

@manishkumar_ru · Post #92 · 07.07.2025 г., 09:00

🇷🇺🤝🇮🇳 INNOPROM 2025 Update Today, I had the honor of speaking at the strategic session “Russia–India: Toward a $100 Billion Trade Turnover” at INNOPROM 2025 in Ekaterinburg. Proud to share the stage with H.E. Vinay Kumar, Andrey Sobolev, Anil Agarwal, Nikita Ryblenkov, Igor Kurzhiyamsky, Mikhail Labudin, Badiga Shrikant, and Alexander Krutov. Grateful for the opportunity to contribute to India–Russia trade dialogue as Deputy Chairman of MCCI’s India Commission & President of Soltex Group. 📍 I’m at INNOPROM till evening — happy to connect! #INNOPROM2025#IndiaRussia#SoltexGroup#ManishKumar#TradeGrowth#EAEUIndia

Маниш Кумар 🇷🇺🇮🇳

@manishkumar_ru · Post #88 · 27.06.2025 г., 12:42

🇷🇺🤝🇮🇳 I’m pleased to share that I will be participating as a speaker at INNOPROM 2025, Russia’s largest international industrial trade fair, taking place from July 7–10 at the Ekaterinburg-EXPO. On July 7 (10:30–12:00, Hall 3.4), I will speak in the strategic session: “Russia–India: Toward a $100 Billion Trade Turnover.” As President of Soltex Group and Deputy Chairman of the MCCI Commission on Foreign Economic Relations with Partners in India, I look forward to contributing to the dialogue on expanding bilateral trade, addressing non-tariff barriers, and advancing the EAEU–India Free Trade Agreement. INNOPROM is a premier global platform where industry, innovation, and international cooperation converge — bringing together decision-makers from around the world. 🔗 Register: expo.innoprom.com/registration/visitor-2025 🎟 Promo Code: ZVCZ2A (Free Entry) Let’s build the next chapter of India–Russia industrial partnership. #INNOPROM2025#SoltexGroup#ManishKumar#IndiaRussia#EAEUIndia#TradeGrowth

Маниш Кумар 🇷🇺🇮🇳

@manishkumar_ru · Post #123 · 21.08.2025 г., 17:57

Sealing the Partnership in Moscow 🇮🇳🤝🇷🇺 We are pleased to witness a significant milestone in India-Russia relations, as EAM Dr. S. Jaishankar and Russia's Deputy Prime Minister Denis Manturov signed the Final Protocol after high-level talks in Moscow. This development further strengthens bilateral cooperation, opening doors for trade, partnerships, and joint ventures across multiple sectors. At Soltex Group, we view this as a promising step towards expanding our presence in Russia and fostering new opportunities for businesses. 📌 Interested in exploring business opportunities between India and Russia? Connect with us — we’re here to support and guide you. #IndiaRussia#TradeRelations#SoltexGroup#BusinessOpportunities#BilateralTrade#Partnership