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
🏗 Canggu is getting its first shopping mall
📍 The Canggu Hills project, located along the Canggu–Pererenan road, is set to host the area’s first full-scale mall.
🛍 The two-story complex will accommodate around 200 tenants and follow an outdoor mall concept — more like an open-air shopping district rather than a traditional enclosed mall.
🏘 Canggu Hills itself is designed as a mixed-use development, combining residential and commercial spaces.
📆 The planned opening is June 2028.
#places#Canggu@BaliNews
🛵 Bali plans to change traffic patterns in Berawa and Canggu
ℹ️ The focus is on key roads, beach access routes, and popular shortcuts. Authorities aim to redistribute traffic flows to reduce congestion and make movement more balanced.
The LLAJ forum — a local traffic council — will be involved in developing the new system. Testing is planned before implementation, so no exact timeline has been announced yet.
The updated scheme will include not only main roads but also widely used shortcuts.
📍 A similar model has already been tested and implemented in Kerobokan and Seminyak. No timeline for Canggu yet – calculations and a trial phase will come first.
#roads#projects#Canggu@BaliNews
🪩Morabito presents Bombossa Brothers
📍 Morabito Art Villa, Canggu
📅 Friday, February 28
⏰ 6:00 pm
Bombossa Brothers are twins with two interesting personalities and one mission: to entertain as many people as possible with their groovy melodic sound. Over the past couple of years, they have built up their reputation as a duo to watch by playing around the world and expanding their Momentum event series, hosting up to 2000 people in their hometown of Tallinn, Estonia.
🎫Tickets at the link from 250.000 IDR.
@BaliNews
#wheretogo#parties#Canggu
🚤A boat dock will be built at the airport in Canggu
📰 A sea route from the airport to c will appear in Bali. The new dock between Canggu and Chemagi is scheduled to begin operating in 2026, but the first water taxis are planned to be launched in test mode as early as the end of 2025.
👍 The boat trip from the airport to Canggu will take 15 to 30 minutes and will help avoid traffic jams.
#goodnews#places#transport#Canggu@BaliNews
🎬 Movies watching at Alternative Beach
📍 Alternative Beach in Bali’s newest unique daytime hangout, right in the heart of Canggu.
June 19 – Mickey 17
June 23 – The Union
June 26 – Fly Me to the Moon
🆓 The event of free of charge.
📲 Details and reservation are on the official website.
#wheretogo#events#free#Canggu@BaliNews
🍹The Bali Cocktail Festival 2025 has opened in Bali
📍 The Bali Cocktail Festival 2025 kicked off today at Atlas Beach Club on Berawa Beach and will run until June 8.
🍸 Guests can enjoy pop-up bars, guest sessions with Balinese and international mixologists, cocktail battles, and flair competitions. The cocktails feature Balinese rum, arak, and classic recipes with an island twist.
#wheretogo#events#festivals#Canggu@BaliNews
📍Finns Recreation Club closes for a year
📰 The popular sports and entertainment center Finns Recreation Club has announced a temporary closure for a major renovation.
📆Starting April 1, 2025, the club will suspend operations for 14 months to transform into a global center for fitness, wellness and entertainment.
ℹ️ The Finns Recreation Club renovation is not just a facelift, but a global transformation with an investment of more than $15 million dollars.
🔎 By the way, from March 9 to 11, the club will host a number of events (shown in the photo above) among which there are even free events. More details on the club's website.
@BaliNews
#places#wheretogo#events#free#sport#Canggu