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

Пребарај: #kevinhassett

当前筛选 #kevinhassett清除筛选
以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1047 · 18.10.2025 г., 10:58

🇺🇸🇨🇳【 白宫经济顾问 Hassett:我们并未与中国交战,有信心恢复合作关系 】 #KevinHassett 的發表指出若美中政策態度持續降溫,將有助提振風險資產市場,並進一步推動資金回流 #ETH 與 #BTC 等加密資產板塊。 #白宮聲明影響#tradewars#市場信心回穩 🤣 以太區塊鏈新聞 🗓 2025-10-18 EthereumGlobalNews 💵#中美貿易

Crypto M - Crypto News

@CryptoM · Post #64639 · 09.04.2026 г., 12:20

🚀 U.S. White House Economic Adviser: Fed's Balance Sheet Reduction Should Be Gradual The Director of the U.S. White House National Economic Council, Kevin Hassett, has emphasized the importance of a gradual approach to the Federal Reserve's balance sheet reduction. According to Jin10, Hassett highlighted the need for a measured strategy to ensure economic stability. This statement comes amid ongoing discussions about the Federal Reserve's monetary policy and its impact on the broader economy. Hassett's comments reflect the administration's cautious stance on managing the balance sheet to avoid potential disruptions in financial markets. #WhiteHouse#EconomicAdviser#FederalReserve#BalanceSheetReduction#MonetaryPolicy#EconomicStability#FinancialMarkets#KevinHassett

Crypto M - Crypto News

@CryptoM · Post #64643 · 09.04.2026 г., 12:25

🚀 White House Economic Advisor Advocates for Lower Interest Rates The White House National Economic Council Director, Kevin Hassett, has expressed that interest rates should be lower. According to BlockBeats, Hassett anticipates that Jerome Powell will not continue as a Federal Reserve governor. He is confident that Christopher Waller will assume the role of Federal Reserve Chair in May. #WhiteHouse#EconomicAdvisor#InterestRates#FederalReserve#KevinHassett#JeromePowell#ChristopherWaller#MonetaryPolicy

Crypto M - Crypto News

@CryptoM · Post #65073 · 10.04.2026 г., 19:34

🚀 White House Economic Advisor: Limited Impact on GDP from Recent Event White House National Economic Council Director Kevin Hassett stated that the recent event is expected to have a limited impact on the United States GDP. According to Jin10, Hassett emphasized that while the situation is being closely monitored, the overall economic outlook remains stable. The administration continues to assess the potential implications and is prepared to implement measures if necessary to mitigate any adverse effects. Hassett's comments come amid ongoing discussions about the resilience of the U.S. economy in the face of various challenges. #WhiteHouse#EconomicAdvisor#GDP#USEconomy#EconomicOutlook#KevinHassett#EconomicStability#EconomicPolicy

Crypto M - Crypto News

@CryptoM · Post #65001 · 10.04.2026 г., 13:24

🚀 White House Predicts Energy Price Drop with Hormuz Strait Reopening The White House National Economic Council Director, Kevin Hassett, announced that the Hormuz Strait could reopen within two months. According to Odaily, Hassett stated that once the strait is operational, energy prices are expected to decrease rapidly. The number of vessels passing through the Hormuz Strait has decreased by 10% compared to normal levels. #WhiteHouse#EnergyPrices#HormuzStrait#EconomicCouncil#KevinHassett#EnergyMarket#OilPrices#GlobalTrade#Shipping

Crypto M - Crypto News

@CryptoM · Post #64652 · 09.04.2026 г., 12:36

🚀 White House Predicts Gasoline Price Drop with Hormuz Strait Opening The White House National Economic Council Director, Kevin Hassett, has indicated that gasoline prices are expected to decrease swiftly once the Strait of Hormuz is reopened. According to Odaily, Hassett mentioned that discussions have been held with allies to ensure a stable supply of U.S. oil. Additionally, consultations regarding the purchase of oil and natural gas have been conducted with allied nations. #WhiteHouse#GasolinePrices#HormuzStrait#OilSupply#USEconomy#EnergyPolicy#NaturalGas#KevinHassett#GlobalTrade#OilMarket