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

Резултати

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

Пребарај: #aigenerated

当前筛选 #aigenerated清除筛选
Custom Emoji Packs

@CustomEmojiPacks · Post #879 · 09.06.2025 г., 22:20

We've brought back the ❤️ reaction and removed the 💫 option. We originally added the star just for fun, but it started to feel unfair - it was appearing on messages that included packs from other people. Even though the donations it generated were minimal and insignificant to us, I still felt bad about it. Anyway, I want to clarify what's been happening with this channel lately. 📰 A few months ago, Telegram placed restrictions on my account for no apparent reason - I wasn't allowed to post in public groups due to some "illegal content". It took me a while to realize that our community group had disappeared too. I'll admit it, our moderation wasn't the best, but we tried to block and remove spam, crypto scams, and anything related to drugs, porn etc, but in the end, our group ended up being deleted. I reached out to some Telegram volunteers, and after a few weeks I was unbanned. They told me I should’ve enabled the new aggressive anti-spam feature, so if you manage a large community, I strongly recommend turning it on. That way, a few troublemakers won’t end up causing problems for everyone. 🚨 That said, technology is evolving at an exponential rate, and with the arrival of AI generated emojis, we also want to evolve this channel into something new. Right now, you can generate an emoji on iOS or certain websites in just a few seconds, which takes away the magic of designing a set from scratch with vector graphics and countless cups of coffee. We still believe in the secret art of emoji creation, but it's fading faster and faster. That's why we're adding the ability to direct message us using the latest Telegram feature, so that you can share your packs, tell us your story and promote your own work - and request collaborations, too. We’ll review each submission, allowing you, in a way, to give us direct post suggestions, resulting in more frequent posts and better management, without the risk of creating another group just to get banned again. We have more ideas for oh how to evolve this community, but we also want to hear yours. At this point, we think the channel needs a new #aigenerated hashtag for emoji packs made with AI tools like ChatGPT or websites such as emojis.com - one of the most advanced AI emoji generators right now (not sponsored, by the way). So, keep creating incredible art in every form. Use AI to push the boundaries of what the human mind can do, without replacing it. Find the right balance, blending AI-generated ideas with your own artistic vision and creativity. That, I believe, must be the right way to create and communicate without getting replaced by technology in future generations. 🚀

Hashtags

12
ПретходнаСтраница 1 од 2Следна