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

Пребарај: #geopoliticalrisk

当前筛选 #geopoliticalrisk清除筛选
Crypto M - Crypto News

@CryptoM · Post #65222 · 12.04.2026 г., 04:13

🚀 Iran Nuclear Talks Fail as Tensions Impact Crypto Markets U.S. Vice President Vance announced that after 21 hours of negotiations, no agreement was reached with Iran, which refused to abandon its nuclear weapons program. According to BlockBeats, U.S. President Donald Trump had previously warned that failure in talks would lead to 'total destruction' of Iran. The ongoing conflict has caused volatility in the crypto market for weeks, compounded by tariff disputes, with Bitcoin dropping below $70,000 earlier this month. Analysts had predicted that a successful agreement could push Bitcoin to $80,000, while a breakdown might see it fall to $65,000. On the bullish side, data from on-chain wallets indicate that the largest Bitcoin holders, known as whales, have continued to buy during the peak of geopolitical turmoil rather than sell. Their reasoning is that if the conflict escalates, disrupting oil supplies from the Persian Gulf, rising oil prices and inflation could delay Federal Reserve rate cuts, benefiting scarce assets like Bitcoin and gold. Conversely, Peter Schiff, a gold trader and long-time Bitcoin skeptic, argues that as tensions rise, investors will flee Bitcoin for gold. Schiff predicts a Bitcoin 'collapse,' asserting that gold is the only true safe haven during wartime, and suggests that insiders may be profiting from market fluctuations driven by conflict news. If Trump follows through on his 'total destruction' threat, both stock and crypto markets are likely to experience simultaneous sell-offs. In terms of future developments, Vice President Vance maintained a firm stance at a press conference but did not rule out further negotiations. The Iranian parliamentary speaker demanded a ceasefire in Lebanon and the unfreezing of assets before engaging in formal talks. For Bitcoin traders, the next 72 hours hinge on two critical issues: whether a ceasefire agreement can be sustained and if Trump will escalate the conflict. Meanwhile, whale wallets continue to buy at current prices, indicating that some large investors are betting on stabilization of the situation. #IranNuclearTalks#CryptoMarket#Bitcoin#GeopoliticalRisk#Trump#OilPrices#Inflation#Gold#MarketVolatility#WhaleInvesting#MiddleEastConflict#Lebanon#USPolitics#BTC

Crypto M - Crypto News

@CryptoM · Post #64792 · 10.04.2026 г., 00:06

🚀 Global Economic Concerns Amid Middle East Tensions According to Jin10, a report by China International Capital Corporation (CICC) highlights that since March, concerns over conflicts involving the U.S., Israel, and Iran, along with potential blockages in the Strait of Hormuz, have triggered a market-wide risk aversion. This has led to declines in most asset classes, excluding oil and agricultural products, raising fears of stagflation. CICC acknowledges the undeniable impact of supply shocks, which could potentially slow overall economic growth. However, if the Strait of Hormuz gradually reopens, the geopolitical risks might exacerbate the K-shaped economic divergence, leading to increased investment activity while cooling consumption and employment. In the context of accelerated AI substitution and an inherently cooling labor market, inflation in resource and capital goods is unlikely to create a 'wage-inflation' spiral. From this perspective, CICC suggests that the mainstream narrative of global stagflation might be overstated. The report reiterates the view held since the beginning of the year that, amid an intensified K-shaped economy, liquidity recovery from its trough, and sustained fiscal expansion, the global nominal economic cycle driven by investment is expected to resume its upward trend. This will likely lead to continued rebalancing of global funds across sectors, asset classes, and regions, benefiting a range of physical assets and emerging markets. #GlobalEconomy#MiddleEastTensions#GeopoliticalRisk#Stagflation#SupplyShock#EconomicGrowth#KShapedRecovery#Investment#AIImpact#LaborMarket#Inflation#LiquidityRecovery#FiscalExpansion#EmergingMarkets#AssetAllocation