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

Резултати

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

Пребарај: #bitrefill

当前筛选 #bitrefill清除筛选

💙Bitget Wallet Launches a New Era of Web3 Payments Bitget Wallet has announced its 2025 strategy, focusing on the concept of #PayFi. This is a real breakthrough in the world of crypto payments, which turns passive Web3 investments into an active financial instrument for everyday use. 📊Integration of earnings, expenses and transfers With over 60 million users worldwide, Bitget Wallet is redefining the role of cryptocurrency in personal finance. The PayFi system allows users to earn, spend, and send cryptocurrency in a single ecosystem, making it as useful as possible in everyday life. ✈️PayFi Flywheel Model The strategy is based on the PayFi Flywheel model, which transforms the traditional crypto wallet from a simple storage tool into a full-fledged financial hub. Users will be able to deposit assets, such as stablecoins, into savings accounts with real income, which are immediately used to cover daily expenses under the concept of “buy now, pay later.” 💳Launch of Bitget Wallet Card Key new products include the Bitget Wallet crypto card, which is supported by 💳Mastercard. This card will be linked to a multi-currency, crypto-friendly international bank account, greatly expanding the possibilities for using your crypto assets in real life. In addition to the card, users will have access to an in-app section for online shopping thanks to partnerships with companies like #Bitrefill, #IvendPay and #Coinpal. 🗺Supporting growing markets The significant growth in users in Africa, the Middle East and Latin America (over 1000% in 2024) highlights Bitget Wallet's commitment to making cryptocurrency accessible to everyone, especially those who have been left out of the traditional banking system. Alvin Kahn, COO of Bitget Wallet: This is not just a product — it is a movement that will make cryptocurrency a viable financial instrument for billions of people. We integrate blockchain technology into everyday life, creating a new paradigm for personal finance. 💰How to leverage it? It is assumed that settlements will be made through $BGB, the holders of which will become the beneficiaries of the new direction of the exchange. If you use Bitget Wallet Lite to collect KeyShards, which will probably also be converted to $BGB — you can easily migrate to Bitget Wallet by importing a seed phrase or private key and get all the benefits of PayFi Flywheel. #BitgetWallet#Web3#DeFi#BGB