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

Резултати

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

Пребарај: #summerinstitute

当前筛选 #summerinstitute清除筛选

EN/RU 🔬SUMMER INSTITUTE 2026 — Science. Collaboration. Development Are you a young lecturer or researcher under 35? We invite you to Russia for professional growth and international networking! 🤝 🗓 July 20 – August 2, 2026 📍 Pskov • Nizhny Novgorod • Moscow • Tyumen • Saint Petersburg 🎯 Program topics: • Sustainable development and ecology 🌱 • Electronics and nuclear technologies ⚛️ • Russian as a language of international communication 🗣️ • History and heritage preservation 🏛️ • Digital society and education 💻 ✨ Bonus: post-program support — joint publications, conferences, and academic exchanges! ✅ All-inclusive: flights, visa, accommodation, meals, and excursions ⏰ Application period: April 13 – May 15, 2026 🔗 Learn more: summerinstitute.ru/en 🔬ЛЕТНИЙ ИНСТИТУТ 2026 — Наука. Сотрудничество. Развитие Вы — молодой преподаватель или исследователь до 35 лет? Приглашаем в Россию для профессионального роста и международного нетворкинга! 🤝 🗓 20 июля – 2 августа 2026 📍 Псков • Нижний Новгород • Москва • Тюмень • Санкт-Петербург 🎯 Темы программ: • Устойчивое развитие и экология 🌱 • Электроника и ядерные технологии ⚛️ • Русский язык как язык межнационального общения 🗣️ • История и сохранение наследия 🏛️ • Цифровое общество и образование 💻 ✨ Бонус: программа постсопровождения — совместные статьи, конференции, академические обмены! ✅ Всё включено: перелёт, виза, жильё, питание, экскурсии ⏰ Приём заявок: 13 апреля – 15 мая 2026 🔗 Подробнее: summerinstitute.ru/en #SummerInstitute#YoungResearchers#НаукаВРоссии#АкадемическийОбмен

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #273 · 28.07.2025 г., 04:07

🎓 Yozgi institutning ikkinchi haftasi ham ilhom, bilim va mashgʻulotlarga boy tarzda yakunlandi! 👨‍🏫 Hafta davomida ishtirokchilar nafaqat o‘z pedagogik ko‘nikmalarini chuqurlashtirdilar, balki jamoa bo‘lib harakat qilish, ijodkorlik va ekologik ongni ham rivojlantirdilar. 📚 O‘quv dasturlarida “Differensial yondashuv”, “Baholash”, “Zamonaviy pedagogika”, “Sun’iy intellektdan ta’limda foydalanish”, kabi zamonaviy mavzular muhokama qilindi. 🎭 “Drama texnikalari”, “Jamoat oldida nutq”, “Nizolarni hal qilish”, “Storytelling”, kabi dars va tadbirlar orqali qatnashchilar sahnada va hayotda qanday ishonch bilan harakat qilishni o‘rganishdi. 💛 Bu haftada ulkan o‘sish va ishonchni ko‘rdik. Yana bir bor, hamkorlarimiz — 🇺🇿 Yoshlar ishlari agentligiga bu imkoniyat uchun chuqur minnatdorchilik bildiramiz! 💬💬💬🗣 🎓 The second week of the Summer Institute also ended in an inspiring, educational, and activity-filled way! 👨‍🏫 During the week, participants not only deepened their pedagogical skills, but also developed teamwork, creativity, and ecological awareness. 📚 The academic programs covered modern topics such as “Differentiated approach”, “Assessment”, “Modern pedagogy”, “Using artificial intelligence in education”. 🎭 Through classes and events such as “Drama techniques”, “Public speaking”, “Conflict resolution”, “Storytelling”, participants learned how to act confidently on stage and in life. 💛 This week, we witnessed great growth and confidence. Once again, we express our deep gratitude to our partners — 🇺🇿 the Youth Affairs Agency — for this opportunity! #SummerInstitute#TeachForUzbekistan#YozgiInstitut#BilimVailhom#InnovativeEducation

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #247 · 11.07.2025 г., 05:44

📣Arizalar qabuli yakunlandi! 📆 2025-yilgi “Teach For Uzbekistan” dasturiga arizalar qabuli o‘z nihoyasiga yetdi. Minglab iqtidorli va fidokor yoshlar bizga qo‘shilish istagini bildirdi — barchangizga rahmat!🤝 🚀 Endi esa eng muhim bosqich — “Summer Institute” boshlanadi. 🔍Biz esa har biringizning kuchli jihatlaringizni ko‘rishga va imkoniyatlar eshigini ochishga tayyormiz. 🗝 Ariza topshira olmaganlar esa, kelasi yil boshlanish nuqtasida siz bo‘lishingizni kutamiz!📥 #TeachForUzbekistan#ArizaQabuli2025#KelajakLiderlari#YoshLiderlar#SummerInstitute#YozgiInstitut

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #248 · 12.07.2025 г., 13:36

Yozgi institutga start beriladi! 🚀 😎 Teach For Uzbekistan muassasasi direktori va Yozgi institut direktori qisqacha ma’lumotlar bilan oʻrtoqlashdilar. 🤝 Yozgi Institutni tashkil etishda bergan qo‘llab-quvvatlovi uchun Yoshlar Ishlari Agentligiga chuqur minnatdorchilik bildiramiz! #TeachForUzbekistan#YozgiInstitut2025#Leadership#FutureLeaders#SummerInstitute#EducationMatters

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #272 · 23.07.2025 г., 14:34

♻️ Yozgi institut ishtirokchilari ekologiyani asrash g‘oyasini real hayotda sinab ko‘rishlari uchun Ecology Day o‘tkazildi. 🗳 Ular oddiy qog‘oz, karton va plastik idishlardan hayratlanarli ijodiy ishlarni yasashdi. 🌍 Kimdir chiroyli guldon yasagan bo‘lsa, 🔧 kimdir foydali uy jihozi yoki o‘yinchoq, 🏠 yana kimdir qushlar uchun chiroyli uycha yasadi. 👥 Jarayonning o‘zi ham juda quvonarli va do‘stona muhitda o‘tdi. 💚 Ijodiy ishlarda ishtirok etganlar yashil kelajak uchun mas’uliyat hissi va jamoaviylikni yanada mustahkamladilar. 💬💬💬🗣 ♻️ To experience environmental care in action, our participants celebrated Ecology Day by turning everyday materials like paper, cardboard, and plastic bottles into creative and useful items. 🎨 Some made beautiful vases, 🛠 others created handy household items or toys, 🏡 and a few even crafted birdhouses! 👥 The entire process took place in a joyful, friendly atmosphere. 💚 Those who took part strengthened their sense of responsibility for a greener future and the value of teamwork. #EcologyDay#GreenFuture#SummerInstitute#TeachForUzbekistan#Sustainability#RecycleAndCreate

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #275 · 30.07.2025 г., 06:43

Mass-media fondi direktori bilan darslar 📚 Mass-media fondi direktori, tajribali media mutaxassisi Jahongir Azimov “Yozgi institut”imizda ishtirokchilarga maxsus darslar o‘tdilar. 💬 Mashg‘ulotlarda “Teamwork and Collaboration” (Jamoaviy ish va hamkorlik) hamda “Effective Communication Techniques” (Samarali muloqot usullari) mavzulari yoritildi. Ishtirokchilar jamoada samarali ishlash, o‘z fikrini ravon yetkazish va professional muomala ko‘nikmalarini amaliy mashqlar orqali rivojlantirdilar. 🤝 Bu darslar bilim boʻlibgina qolmay, kelgusida ishtirokchilarimiz uchun amalda eng foydali tajribalarga ham ega boʻlishdek imkoniyatni yaratdi. Jahongir Azimovga vaqtlarini ayamay kelgani va biz bilan ulashgan bilimlari uchun samimiy minnatdorchiligimizni bildiramiz! 💬💬💬🗣 Sessions with the Director of the Mass Media Foundation 📚 The Director of the National Mass Media Foundation and experienced media specialist Jahongir Azimov held special sessions for participants at our “Summer Institute”. 💬 The sessions covered the topics of “Teamwork and Collaboration” and “Effective Communication Techniques.” Participants enhanced their skills in effective teamwork, clear self-expression, and professional communication through practical exercises. 🤝 These sessions not only provided knowledge but also created an opportunity for our participants to gain valuable experiences that will be beneficial in their future careers. We sincerely thank Jahongir Azimov for taking the time to visit and share his knowledge with us! #TeachForUzbekistan#SummerInstitute#MediaLeadership#CommunicationSkills#Teamwork#JahongirAzimov#MassMediaSupport#YozgiInstitut#IlhomVaTajriba