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

Резултати

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

Пребарај: #holdings

当前筛选 #holdings清除筛选
Car News

@car_news · Post #999 · 13.02.2025 г., 12:31

📰Nissan, Honda and Mitsubishi refused to collaborate into a single holding company ❌ The companies officially canceled the memorandum of merger signed in December 2024. Negotiations lasted several months, but the parties were unable to reach an agreement. ℹ️ Honda had proposed creating a single holding company in which it would gain management control and appoint a CEO. Another option was to turn Nissan into its subsidiary. Both options Nissan found unacceptable. The companies will now continue to cooperate, but only in software and electric cars. 💰 The collaboration was supposed to help compete with Tesla and BYD. The potential holding company was valued at $50 billion. @CarsNews #holdings#Nissan#Honda#Mitsubishi

Car News

@car_news · Post #950 · 28.01.2025 г., 09:18

🚘Mitsubishi Motors to opt out of Honda-Nissan holding company 📰Mitsubishi Motors has finalized its decision not to participate in the management integration plan proposed by Honda and Nissan, citing fears of being marginalized, sources revealed on January 24. 🚘 Instead, Mitsubishi plans to remain under Nissan, its largest shareholder, while seeking ways to collaborate with both automakers. ℹ️ Honda and Nissan are considering establishing a holding company in August 2026, with plans to delist and operate under a single umbrella. However, Mitsubishi intends to stay outside the holding company framework and maintain its position as a Nissan subsidiary, with Nissan holding just under 30% of Mitsubishi’s shares. @CarsNews #Mitsubishi#Nissan#Honda#holdings

科技&趣闻&杂记

@kejiqu · Post #3920 · 02.12.2025 г., 09:50

OpenAI 又达成了一笔循环交易 OpenAI 宣布获得私募股权投资公司 Thrive Holdings 的所有权,而Thrive Capital是 OpenAI 的主要投资者。OpenAI 将向 Thrive Holdings 的公司提供员工、模型、产品和服务。OpenAI 可能从 Thrive Holdings 的未来回报中获得收益。此次合作将侧重于 IT 服务和会计,目标是利用人工智能提高速度、准确性和成本效率。作为交易的一部分,OpenAI 将获得 Thrive Holdings 公司的数据,用于人工智能模型训练。OpenAI 首席运营官表示,Thrive 交易可能是类似协议新浪潮的第一个案例。The Verge 🏷#OpenAI#Thrive#Holdings#循环交易#投资 📢频道👥群组📝投稿