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

Пребарај: #rednileanalysis

当前筛选 #rednileanalysis清除筛选
Red Nile

@rednile12 · Post #10572 · 02.01.2026 г., 12:51

🔺Continuation from above @rednile12 📌 2. Immediate Fallout: Tehran Responds Iranian officials framed Trump’s statement as foreign interference, not solidarity: 🔹Ali Larijani: Warned U.S. meddling would destabilize the region and endanger American interests and troops. 🔹Ali Shamkhani: Declared any intervening “hand” would be “cut off,” citing U.S. failures in Iraq, Afghanistan, and Gaza. Tehran continues to distinguish rhetorically between legitimate economic protest and foreign-directed escalation. 📌 3. Context Matters (Brief) The protests did not begin as a political uprising. They originated as economic strikes over currency collapse and inflation, later spreading geographically and socially before escalating. 📎 Full breakdown of protest origins, slogans, and escalation: This distinction matters—because economic anger is now being repurposed. 📌 4. The Bigger Picture: Brian Berletic on Regime-Change Continuity Geopolitical analyst Brian Berletic argues Trump’s statement exposes structural continuity in U.S. policy—not a Trump-specific anomaly. His core argument: The U.S. does not oppose Iran because it threatens the American homeland, but because Iran resists U.S.-Israeli regional dominance. 🔑Key Points from Berletic’s Analysis: 🔹Policy consistency across administrations From Bush to Obama, Trump, Biden, and back to Trump: 🔸Sanctions as economic warfare 🔸Support for opposition networks 🔸Information warfare and narrative control 🔸Threats—or use—of military force 🔹Trump’s record fits the pattern 🔸JCPOA withdrawal (2018) 🔸“Maximum pressure” sanctions 🔸Assassination of Qasem Soleimani (2020) 🔸2025 U.S.-Israeli airstrikes 🔸Now open encouragement of unrest 🔹Think-tank blueprint already exists Berletic points to the Brookings Institution’s “Which Path to Persia?” (2009), which openly discussed: 🔸Exploiting internal unrest 🔸Combining sanctions, media amplification, and proxy pressure 🔸Encouraging “velvet revolution” or Maidan-style collapse Trump’s language simply removes the ambiguity that usually surrounds this strategy. 📌 5. Why Trump’s Statement Is Hybrid Warfare Trump’s threat performs three strategic functions: 1️⃣Internationally legitimizes unrest as a “freedom struggle” 2️⃣Signals to opposition elements that external backing is available 3️⃣Provokes harsher state responses, which are then weaponized in media narratives This is not about protecting protesters—it is about creating escalation pathways. ⚠️ RedNile Conclusion Iran is facing real economic suffering—but that suffering is now being actively weaponized. Trump’s “locked & loaded” statement confirms what yesterday’s analysis warned: The objective is not reform. The objective is directional control of public anger. The struggle is no longer just inside Iran—it is over who shapes the outcome. 🔍Full Iranian Maidan analysis: https://telegra.ph/Irans-Current-Situation-Real-Grievances-External-Exploitation-and-the-Battle-Over-Public-Anger-01-01 #IranProtests#HybridWarfare#RegimeChange#Trump#Maidan#ForeignInterference#Geopolitics#RedNileAnalysis — RedNile Media | Jan 2026

Red Nile

@rednile12 · Post #10422 · 17.12.2025 г., 17:16

🔺Continuation from above @rednile12 🛢️ What’s really driving prices? 🔹Oversupply dominates ▪️US output at a record ~13.8 million bpd ▪️OPEC+ (led by Russia) adding 137,000 bpd in December ▪️IEA warns of a 4+ million bpd surplus in 2026 🔹Venezuela factor is limited (for now) ▪️Venezuela exports ~800–900k bpd (mostly to China) ▪️Blockade mainly targets shadow fleet tankers ▪️Estimated 300–500k bpd at risk ▪️OPEC spare capacity can easily offset this 🔹Demand is weak ▪️Sluggish global growth ▪️China slowdown ▪️Energy transition pressures ⚠️ Strategic takeaway This isn’t about oil fundamentals—it’s about US coercive diplomacy. 🔹 Trump’s move: ▪️Injects short-term volatility ▪️Signals renewed energy weaponization ▪️Uses sanctions + naval pressure, not markets, to discipline rivals 🔹 But in an oversupplied world, geopolitics can only spike prices temporarily. 📉Bottom line: Unless the blockade expands or collides with another major disruption, oil prices remain structurally bearish, with volatility driven by headlines—not fundamentals. 🔴 Follow more insights: @rednile12 | #Red_Nile_Geopolitics #OilPolitics#TrumpDoctrine#Venezuela#EnergyWeaponization#Geopolitics#OPEC#WTI#Brent#GlobalEconomy#RedNileAnalysis