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
🚕 A new online taxi service Zendo has launched in Bali
📰 While Balinese taxi drivers are trying to resist Gojek and Grab services that have taken over the market, another competitor has almost imperceptibly appeared, ready to offer affordable bike rides to the population.
ℹ️Zendo is an Indonesian taxi, delivery and cleaning service covering 25 cities in Indonesia. Now the services are also available in Bali. The island has become one of the 45 places where the service plans to come in 2025.
👍 Representatives of the service write that they are ready to provide any service, as long as it does not violate the law.
@BaliNews
#goodnews#services#transport
🚖 Uber launches robotaxis in Europe with Pony AI
📰 Uber has partnered with China’s Pony AI and Croatian startup Verne to launch Europe’s first commercial self-driving taxi service.
📍 Testing is already underway on the streets of Zagreb, and soon users will be able to book driverless rides directly in the Uber app.
How it works:
• Uber provides the platform and user base
• Verne manages the fleet
• Pony AI delivers the autonomous driving tech
The service will use the Arcfox Alpha T5 electric vehicle (developed with BAIC). The plan is to scale to thousands of robotaxis and expand across Europe.
🧲 The race is on: Waymo is preparing a launch in London, while Volkswagen is gearing up in Germany.
#services#selfdriving@Car_News
🚤New Bali water taxi service launches for tourists
📰 A new marine transportation service, Bali Marine Water Taxi, has been launched in the popular resort area of Benoa (Nusa Dua) in Bali.
📍 The tourist cab service connects the seaports of Tanjung Benoa, Serangan and Pedungan (South Denpasar).
35 minutes. That’s all it takes. No traffic, no stress - just ocean views and open horizons. Uluwatu is calling.
👍 This is just one of the many sea routes Bali plans to develop in the coming months.
@BaliNews
#goodnews#places#services#transport#tourism#NusaDua
Marsa Maroc Secures $69.15M
Marsa Maroc has announced a funding round of $69.15 million set for December 13, 2024. This investment aims to enhance its operations and services within the maritime sector.
#MarsaMoroc $69.15M #Funding#Maritime#Investment #2024 #Operations#Services
Modified perl script of @ robertoprubio to use the local file
perl disable-trackers-from-recovery.pl --exodus-trackers-pathname <pathname>
where <pathname> refers to pathname of the local exodus file that you've downloaded from https://etip.exodus-privacy.eu.org/trackers/export
#disablebadservices#disable#blocker#watt#mat#block#ifw#intents#services#ads#tracking
Dfns Secures $16M Funding
Dfns, the wallet-as-a-service (WaaS) platform, has raised $16 million in funding as of December 18, 2024. The platform is designed to simplify digital asset operations and facilitate safe crypto onboarding for leading organizations.
#Dfns#Funding#WaaS#DigitalAssets#Crypto#Operations#Onboarding#Investment#Security#Technology#Finance#Blockchain#Startups#Innovation#Market#Users#Ecosystem#Wallet#Services#Platform#Growth
Keepit Secures $50M Funding
Keepit raises $50M in funding to enhance its cloud data protection services, leveraging over 20 years of market experience. For more details, visit Keepit.
#Funding#Cloud#DataProtection#Keepit#Investment#Tech#Services#Solutions#Market#Experience#Ecosystem#Security#Innovation#Growth#Infrastructure#Digital#Software#Business#Technology
Bnewable Secures $42M Funding
Bnewable raises $42.02M to enhance energy solutions, focusing on battery-as-a-service and smart energy management systems. Energy management becomes increasingly vital for companies.
#Bnewable#Funding#Energy#Management#Tech#BatteryAsAService#Sustainable#Innovation#SmartSystems#Utilities#Investment#Startups#CleanEnergy#Solutions#Growth#Development#Industry#Future#Strategy#Services