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

Пребарај: #kashkadarya

当前筛选 #kashkadarya清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #12420 · 17.04.2026 г., 09:59

#Kashkadarya Spring is the breath of nature, the heartbeat of our land. When fields are covered with scarlet tulips, it feels as if the earth itself has dressed in festive colors… 🌺 Yet sadly, there are those who, instead of admiring this beauty, consider destroying it a “heroic” act. A video circulating on social media shows a car with the license plate 70 R418XA and two other vehicles driving over fields of tulips, crushing not only the flowers but also the insects and reptiles that live there. What is most disturbing is that they record this cruelty with laughter and a sense of “pride”… This is not just a violation. This is violence against nature. This is a clear manifestation of moral degradation. Tulips are not just flowers. They are a symbol of spring, a vital part of the ecosystem, and a habitat for thousands of living beings. Destroying them means breaking an entire chain of life. The exact location of the incident is unknown, but based on the license plate, it is likely that it took place in the Kashkadarya region. In this regard, we call on the Kashkadarya Regional Department of Ecology to provide a legal assessment of this incident and hold those responsible accountable under the law. Nature does not belong to us. We are only its guests. If we fail to protect beauty, we will fail to protect the future… 🌍 ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

Hashtags

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #300 · 21.10.2025 г., 14:07

Qashqadaryodagi fellowlarimiz faoliyatlarining ikkinchi yilini davom ettirar ekan, ular uchun loyihani samarali boshqarish va project management tamoyillarini amaliy o‘rganishga bag‘ishlangan sessiya tashkil etildi. 📆 18–19-oktabr kunlari o‘tkazilgan mazkur sessiyada fellowlar ta’limdagi tashabbuslarni rejalashtirish, resurslarni boshqarish va jamoaviy ishni samarali yo‘lga qo‘yish bo‘yicha tajriba almashishdi. 💡 Sessiya BMT Taraqqiyot dasturi (UNDP) start-up tashabbuslar loyihasi mentori Barnoxon Artikxodjayeva tomonidan olib borildi. 😎Teach For Uzbekistan jamoasi Barnoxon Artikxodjayevaga o‘z tajribasi va qo‘llab-quvvatlovi uchun samimiy minnatdorlik bildiradi! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Qashqadaryo#EducationForAll 💬💬💬 As our fellows in Kashkadarya continue their second year of activities, a session was organized to strengthen their skills in effective project management and the practical application of project management principles. 📆 Held on October 18–19, the session focused on planning educational initiatives, managing resources, and fostering effective teamwork. 💡 The session was conducted by Barnokhon Artikkhodjaeva, mentor of the UNDP Start-up Initiatives Project. 😎The Teach For Uzbekistan team extends its sincere gratitude to Barnokhon Artikkhodjaeva for her valuable insights and continuous support! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Kashkadarya#EducationForAll 📱Instagram🕊Telegram🔹Linkedin📱Facebook📺YouTube🌍Veb sayt