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

Пребарај: #ekolog

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

@ekologuzenglish · Post #11374 · 29.01.2026 г., 12:59

In recent years, systematic and mass cases of cruelty toward donkeys have sharply increased in Uzbekistan, particularly in the districts of Tashkent city. Another severe case was identified in Yangihayot District of Tashkent. The animal’s hindquarters were completely covered with wounds; it had been neglected for a long period and was found in a state of extreme suffering. This incident clearly indicates a failure to fulfill legal obligations toward animals and shows clear signs of cruelty. Practical experience demonstrates that owners actively use donkeys as labor force during the summer, and with the arrival of winter, abandon sick and exhausted animals on the streets. This is a direct consequence of irresponsibility and the absence of a proper animal registration system. As a result, owners of animals subjected to cruelty remain unpunished. Based on the above, we DEMAND: — to conduct an official investigation into cases of cruelty toward donkeys; — to apply measures предусмотренные by law against those responsible; — to strengthen legal liability for animal cruelty; — to develop effective mechanisms to support volunteers and animal shelters. An animal is not property. It is a living being that requires protection by the state. Once again, the animal was saved from death thanks to a volunteer of the “Ekolog” public association, the founder of the “Dobroe Serdtse” shelter — Alisa Tikhomirova. 🐾 Currently, this shelter houses: — more than 100 homeless dogs, — around 10 donkeys who are victims of cruelty. Each of them urgently needs: — medical treatment, — medicines, — food and daily care. ❗️ The entire burden rests on volunteers alone. 🙏 Please do not remain indifferent. Even 10,000 Uzbek soums can save one life. 💳 Donation cards: 5319519615293440 — Mastercard (USD) 5319519615173063 — Mastercard (UZS) 5614682614054668 — Uzcard 8600570424575131 If you stay silent, cruelty will continue. If you help, a life will be saved. 📢 Share this message. 📢 Do not look away. 📢 Be human. #StopAnimalCruelty#DonkeysAreLivingBeings#AnimalProtection#Ekolog#DobroeSerdtse ☘️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

EKOLOG.UZ| ENG

@ekologuzenglish · Post #11363 · 28.01.2026 г., 15:59

🌿 Environmental Corruption Training Launched in Nukus As part of the social project “Enhancing the Knowledge and Capacity of Journalists, Bloggers, and Civil Society Representatives in Combating Environmental Corruption”, implemented by the “Ekolog” Public Association, the latest training session was held in Nukus city. This project is carried out with a grant from the Public Fund for Supporting Civil Society Institutions under the Oliy Majlis of the Republic of Uzbekistan. 📍 The training took place in the meeting hall of the CSO House in Nukus. 👩‍🏫 Trainers included Nargis Qosimova, Director of the “Ekolog” Public Association, and Feruzbek Sayfullayev, the organization’s press secretary. 🗣 During the training, participants discussed key topics, including: — “What is environmental corruption?” — “How does it develop?” — “The links between environmental problems in Uzbekistan and corruption” The sessions were interactive, giving participants practical knowledge on how to identify and report environmental corruption, as well as understanding the role of media and civil society in combating it. ☘️ Follow the latest environmental news on our page: @ekologuz. 💬 Send your suggestions and feedback via @eklguz_bot! ☘️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. #Ekolog#EnvironmentalCorruption #Nukus#CivilSociety#Journalists #Bloggers#Environment#GrantProject