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
⚓🚨SHIPPING BODY SLAMS US-IRAN SHIP SEIZURES AS ILLEGAL
🔹 International Chamber of Shipping condemns tit-for-tat vessel captures in Gulf waters 🌊
🔹 Twenty thousand seafarers stranded in Gulf - 'house arrest' conditions for 7 weeks ⛵
🔹 US captures Iran-linked Majestic X and Tifani in Indian Ocean operations 🇺🇸
🔹 Iran seizes MSC Francesca and Epaminondas - crews confirmed safe but detained 🇮🇷
🔹 Strait traffic drops from 129 daily transits to just 5 ships in past 24 hours 📉
🔹 Marine director warns against political use of innocent commercial vessels ⚖️
Global shipping in chaos as world's busiest waterway becomes political battleground 🌍💥
#USNews#shipping
🌍 Geographic coordinates can be so precise, they guide ships through narrow straits just meters wide. This accuracy lets massive vessels safely navigate some of the world’s tightest waterways. ✨
#coordinates⚡#navigation⚡#shipping⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Singapore’s tiny land area is home to one of the world’s busiest container ports. Its strategic position along vital shipping lanes makes it a key hub for global trade and economic activity. ✨
#economic⚡#shipping⚡#trade⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🌍 Every year, about 25 million shipping containers are moved over the world’s oceans. These box-shaped units revolutionized transport geography by making global trade faster and more efficient. ✨
#transport⚡#logistics⚡#shipping⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🚢 Trump the Underwriter-In-Chief: Bomb First, Insure Later
Trump just reinvented “freedom of navigation” as a bundled product: war plus government-backed shipping insurance.
As drones hit the U.S. Embassy in Riyadh and explosions roll across Dubai and the Gulf, the White House is now promising to escort tankers through the Strait of Hormuz and provide U.S. insurance for trade in the Gulf — a state-backed guarantee for a crisis it helped ignite. Oil, which had spiked on Hormuz panic and Iranian barrages, immediately pared gains as traders priced in the idea that the same navy launching Tomahawks will now babysit supertankers.
On Capitol Hill, the constitutional math is getting the usual creative rewrite. Senate Majority Leader John Thune says Congress doesn’t need to authorize this war as long as it stays inside a 60–90 day window, insisting Trump already has all the authority he needs for “the operations that are currently underway.” That dovetails nicely with Trump’s own messaging: the campaign against Iran could last “four to five weeks” — or, as he’s now hinting, longer.
Markets have stopped pretending this is “contained.” The S&P 500 is sliding, the dollar is ripping higher, Dubai’s market is reopening under a 5% limit-down throttle, European gas futures are jumping, and Iraq says it will shut output at Rumaila as storage fills up in a region where airspace is closing and embassies are evacuating staff. Even Fed officials are openly saying the Iran war has injected a fresh layer of rate and inflation uncertainty — code for “we now have to watch both missiles and CPI.”
And through it all, Trump keeps the salesman patter going. He tells Germany’s Friedrich Merz they’re “on the same page” on Iran, calls the latest hit on Tehran’s leadership “substantial,” shrugs that the next rulers of Iran might be “just as bad,” and then promises that once this is all over, oil prices will fall again. For now, though, the business model is clear: U.S. policy sets the Gulf on fire — and then offers to charge the risk premium, write the insurance, and park a carrier group next to your tanker, all under the banner of “collective self-defense.”
#Iran#Trump#Hormuz#oil#shipping#Fed#warEconomy#MiddleEast
📱American Оbserver - Stay up to date on all important events
🇺🇸
⛽️ Strait of Hormuz: Global Oil on Pause, War Risk on Play
The shooting war over Iran just turned into an economic chokehold. After U.S. and Israeli strikes, oil and gas tankers are slowing, stopping, or turning around at the Strait of Hormuz, while Iranian media declares the waterway “practically closed” and the Revolutionary Guard warns that transit is unsafe.
Tankers report hearing radio messages claiming to be from the Iranian navy banning passage; some ships have U‑turned or aborted transits, and Japan’s Nippon Yusen has told its fleet to avoid Hormuz altogether, while Greece has told its vast merchant fleet to reassess and be ready to operate without reliable GPS because of jamming and spoofing risks. Vessel‑tracking data shows a growing flotilla of idle crude and LNG carriers piling up on both sides of the strait and in the Gulf of Oman, including ships loaded with Saudi, Iraqi, Emirati and Qatari cargoes now essentially parked until someone decides it’s safe to move again.
Formally, neither Washington nor Tehran has announced a closure, but in shipping terms the effect is already there: U.S. maritime authorities are warning vessels to stay well clear of U.S. military assets, insurers are reassessing, and owners are eyeing war‑risk clauses that let them cancel voyages into a live conflict zone. A fifth of the world’s seaborne oil and a similar share of liquefied natural gas normally pass through Hormuz; even a brief disruption means higher freight rates and a war premium baked into every barrel.
Futures markets are shut for the weekend, but early price signals are already pointing to double‑digit percentage jumps for West Texas Intermediate when trading reopens, and traders say the real question is political, not technical: does Iran keep using Hormuz as a pressure lever, do the U.S. and Gulf states risk escorting traffic through a missile environment, and how long shipowners will tolerate leaving millions of barrels’ worth of crude sitting in the Gulf of Oman while presidents in Washington and Tehran trade threats.
The battlefield is missiles and airbases; the collateral is every consumer whose life depends on oil that used to slip quietly through a strait that has just become the world’s most expensive traffic jam.
#Iran#StraitOfHormuz#oil#tankers#shipping#Trump#war#energy
📱American Оbserver - Stay up to date on all important events
🇺🇸
🚀 Increase in Ship Traffic Through Strait of Hormuz Observed
On April 10, the number of ships passing through the Strait of Hormuz increased to nine, according to data from shipping intelligence company Kpler. According to BlockBeats, this marks a rise from the previous day's count of five vessels, although it remains below the broader normalized levels.
#Shipping#StraitOfHormuz#MaritimeTraffic#Kpler#BlockBeats
🚀 Iran Utilizes Cryptocurrency for Strait of Hormuz Passage Fees
Iran is employing cryptocurrency to collect fees from ships passing through the Strait of Hormuz. According to NS3.AI, TRM highlighted that the rapid nature of digital currency transactions and their operation outside the U.S. banking system complicate efforts by the U.S. to freeze or block these payments in real time.
#Iran#Cryptocurrency#StraitOfHormuz#DigitalCurrency#Shipping#USSanctions#Blockchain
📰 Two Straits, One Price Chart
The market has stopped treating the Iran war as a single-chokepoint story. Once the Houthis re-entered the fight, traders started pricing a second gate to the world’s oil supply: Bab al-Mandab.
That is why this isn’t just about Hormuz anymore. Hormuz moves roughly a fifth of global oil flows, while Bab al-Mandab sits on the route into the Red Sea and the Suez corridor, so a combined disruption creates a much uglier arithmetic for tankers, insurance and container traffic. Strategic analysts at Stimson and the Atlantic Council have been warning that the Houthis are the least degraded actor in Iran’s proxy network and still hold leverage over that geography.
Polymarket is reading the same script in real time. The market for a cease-fire by March 31 is barely alive, the odds of continued hostilities are overwhelmingly higher, and the Houthi strike-on-Israel bets are repricing sharply after today’s missile launch. Traders are also pricing the possibility that the next headline isn’t a peace deal but a second choke point, with Pakistan’s Islamabad talks and the $120 oil threshold now sitting in the same volatility bucket.
The cleanest way to say it is this: one strait was already enough to panic the market, but two straits turn panic into a system. When the map gains a second lock, the price chart stops looking like a reaction and starts looking like a warning.
#iran#houthis#hormuz#babelmmandeb#oil#markets#shipping#war
📱American Оbserver - Stay up to date on all important events
🇺🇸
🚀 Iran Allegedly Charges Fees for Passage Through Hormuz Strait
An Israeli intelligence official has claimed that Iran is imposing fees on vessels passing through the Hormuz Strait. According to Odaily, the strait is reportedly under the complete control of the Iranian Revolutionary Guard, which determines which ships are allowed to pass and, more critically, which are not.
#Iran#HormuzStrait#Shipping#MaritimeSecurity#RevolutionaryGuard#MiddleEast#InternationalTrade