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
Moskva metrosi koʻrsatkichlari sotuvda
Artemiy Lebedev va Meduza yozishicha, Moskva metrosi eski koʻrsatkichlarini sotuvga qoʻygan va muvaffaqiyat bilan sotyapti. Narxlari 1500 dan 10 000 rublgacha (180 000‑1 200 000 soʻm). Bu yerdan sotib olinadi: http://www.mosmetro.ru/box/
Quyidagi fotodagi koʻrsatkich 7500 rubl turarkan (901 000 soʻm).
Toshkent metrosi ham shu tajribani qoʻllashi tarafdoriman. Dizayni qanaqa boʻlishidan qatʼi nazar, metro tarixining bir qismiga ega boʻlish uchun nechadir yuz ming soʻm sarflaydigan odamlar topiladi. Hatto, “Ogoh boʻling” kabi ogohlantirishlarni sotib olish ham qiziq.
Umuman olganda, Toshkent metrosi eng kamida qilishi lozim boʻlgan ish — muzey ochish. Shu kabi hamma belgilarni, koʻrsatkichlarni, vagonlarni, tarixiy fotolar, metro sxemalari bilan tanishish orqali qiziqarli vaqt oʻtkazish mumkin. Nyu-York shahri transport muzeyidan oʻrnak olsak boʻladi. Magazinida kitob-daftarlardan tortib idish-tovoqlargacha sotiladi.
P.S.: Moskva metrosining yangi koʻrsatkichlari Moskvadagi transport navigatsiyasi yagona sistemasining bir qismi hisoblanadi.
P.P.S.: Artemiy Lebedev Studiyasi Moskva shahri uchun yetarlicha ish qilgan. Tanishib chiqish foydali: https://www.artlebedev.ru/city/moscow/
#metro
Delhi Government has approved an Expansion of the city’s #Metro Rail network, with plans to add over 97 km of new lines and 65 stations across seven Corridors under the Phase V (B) plans #Infra
Union Cabinet has approved Jaipur Metro Phase-2, a 41 km long North–South corridor from Prahladpura to Todi Mod, comprising 36 stations, at a total project cost of ₹13,037.66 crore.
The project will be implemented by Rajasthan Metro Rail Corporation Limited (RMRCL), a 50:50 joint venture of the Government of India and the Government of Rajasthan. #Infra#Metro
Die TIEFSTE U-Bahn in Russland liegt in… St. Petersburg! 🚇
Warum so tief?
Unter der „Stadt der Flüsse und Kanäle“ liegen feuchte, instabile Bodenschichten, Treibsand und versteckte Grundwasserströme.
Die Tunnel müssen bis in eine stabile Lehmschicht hinabreichen – was aufwändiges Gefrieren des Bodens und spektakuläre Tiefbaukunst erfordert.
Rekord-Station 🎢
„Admiraltejskaja“ liegt ganze 86 Meter unter der Oberfläche – und führt über die längste Rolltreppe der Welt (137,4 m) hinab. Sogar eine zweite Rolltreppe ist nötig, um bis zum Bahnsteig zu gelangen!
Eine ingenieurtechnische Meisterleistung unter schwierigsten geologischen Bedingungen 🇷🇺
#RusslandEntdecken#welcometoRussia#DiscoverRussia#Metro
📸 Getty Images
🪆Fenster nach Russland
Давлатимиз раҳбарига Тошкент метрополитенини ривожлантириш бўйича режадаги лойиҳалар юзасидан ахборот берилди.
—
Главе государства представлена информация о запланированных проектах по развитию Ташкентского метрополитена.
#Mirziyoyev#taqdimot#transport#metro
Prezident.uz|Facebook|Instagram|YouTube|X
🚇Construction of the Bali metro has begun - prices and first details have been revealed
Last week Bali officially began construction of the first section of the subway, which will connect the airport with the Kuta district.
The metro, according to the authorities, will be laid at a depth of 30 meters, and the project promises to be completed by 2028.
Preparatory work is now underway. In April 2025 they promise to bring boring rigs and start tunneling.
Even more interestingly, toll prices have been announced for the first time. The subway will be free for locals with Balinese residency, while foreign tourists will be charged $40 per week.
With this math, if all 7 million tourists a year buy tickets, the payback on the project will be more than 100 years. This is not the most favorable investment proposal, given that the project was originally planned to be built with private financing.
@BaliNews
#metro#transport#airport#Kuta
🚇 Anul acesta, Metroul din Moscova sărbătorește 90 de ani!
În anul 1935 — 11 stații, puțin peste 11 kilometri de linie și sute de priviri entuziasmate coborând într-o lume complet nouă, sub pământ.
Astăzi, Metroul din Moscova înseamnă:
🔹 271 de stații, dintre care 40 sunt monumente ale patrimoniului cultural,
🔹 aproximativ 450 de kilometri de linie,
🔹 zilnic — peste 7 milioane de pasageri.
Metroul din Moscova este cartea de vizită a orașului. Capodopere arhitecturale subterane, coloane din marmură, mozaicuri, stucaturi și vitralii — pentru toate acestea, stațiile din Moscova sunt numite „palate subterane”.
🌍 Metroul din Moscova este cel mai mare din Europa de Est, ocupă primul loc în Europa ca lungime și număr de linii în exploatare și se află constant în top 3 cele mai mari sisteme de metrou din lume după fluxul de pasageri, alături de Beijing și Shanghai. Prin viteza de dezvoltare și nivelul de confort, depășește Londra, New York și Paris. Iar datorită rețelelor lansate — Inelul Central al Moscovei (MCC) și Diametrele Centrale ale Moscovei (MCD) — capitala a obținut, de facto, un sistem de transport integrat al viitorului: flexibil, high-tech și comod.
#metro#Moscova#Rusia
🚇 Construction of the Bali Metro will begin in September 2024
👍 The Bali Urban Rail project, which consists of four phases, promises to significantly improve the transportation infrastructure on the island. An important aspect is that it will be affordable ticket prices for locals.
1️⃣ The first phase includes routes from I Gusti Ngurah Rai Airport to Kuta Central Parkway, Seminyak, Berawa and Cemaga.
2️⃣ The second phase will cover routes from I Gusti Ngurah Rai Airport to Jimbaran, Udayan University and Nusa Dua.
3️⃣ The third phase will pass through Kuta Central Parkway, Sesetan, Renon and Sanur.
4️⃣ The fourth phase will connect Renon, Sukawati and Udayan University.
📆 The first two phases are scheduled to be completed by 2028 and all four phases by 2031. The project includes construction of underground tunnels and elevated rails, as well as infrastructure for telecommunications, electricity, water and waste management.
@BaliNews
#goodnews#transport#construction#metro
Tashkent’s overground circular metro has reopened. After summer maintenance, 12 trains are now operating on the route with a 7-minute interval.
https://yep.uz/en/2025/11/tashkent-overground-circular-metro-reopens-2025/
#tashkent#metro#transport#uzbekistan