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
Liberty. Equality. Fraternity.
And don't forget to leave the keys...
Today, TON and Telegram represent a decentralized spaceship with 13 million inhabitants on board, ahead of its time. Cryptocurrency gives many people hope for a free and secure life. Web3 is not just about pixel images and taps; it is also a technology uniting millions of people who today collect coins together and tomorrow could make an important decision for the whole world.
In the few years since TON was established, communities have sprung up around the world—in almost all CIS countries, as well as in Denmark, Italy, Nigeria, Iran, South Korea, Hong Kong... these are just the ones that come to mind because I personally read them. But the community itself is huge and, most importantly, international. It is also very friendly. Just look at the scale of support for Pavel Durov with the ✈️ symbol that hundreds of channels with multimillion audiences simultaneously posted.
I have never encountered racial or religious animosity in TON chats. No one has offered me drugs or weapons. Politics are generally not discussed in crypto communities, except in terms of its impact on the exchange rate. Overall, this is a community of enthusiasts who are eager to learn new things and share their knowledge with others. So, I can confidently say that this is a healthy and sane community.
Against the backdrop of current events, it is worth remembering that the idea around which more than 13 million people worldwide have united is alive and thriving. If all these people lived in one country, that country would rank 75th in population among all the countries in the world. The main idea of the Telegram messenger and TON cryptocurrency is Freedom. Yes, the very freedom that its ideological inspirer Pavel Durov is currently deprived of.
#FreeDurov#TON#Telegram#Liberty
For over 20 years, the US has detained 39 Muslim men at Guantánamo Bay, with 27 never charged. The CIA operated secret "black sites" where at least 119 Muslim men were held and at least 39 tortured, without accountability. This system of unlawful detention, rendition, and abuse has cost billions, fueled propaganda by armed groups, and undermined global human rights.
[Read more]
@googlefactss#HumanRights#Guantanamo#Torture#Accountability#usa#liberty#LandOfTheFree
Trump Calls for Ross Ulbricht's Release
Senator Rand Paul urges President Trump to free Ross Ulbricht, the founder of Silk Road. Meanwhile, Coinbase CEO Brian Armstrong states Trump is excited about a Strategic Bitcoin Reserve, aiming to be the first Bitcoin President. Additionally, Binance's CEO predicts a crypto all-time high in 2025 amid clearer U.S. regulation under Trump. Critical Metals Corp raises $500M for Bitcoin reserve strategy as they accept BTC as treasury asset—first Nasdaq company in critical minerals sector to do so.
🔗 Related articles from Watcher Guru and CoinDesk.
#Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC
#Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC
Trump and the American Empire recovery/2
In the grand scheme, reclaiming America’s global dominance is critical to preserving liberty worldwide. Trump’s focus on expanding influence into Greenland, Canada, and the Panama Canal reflects this understanding. By securing these strategic positions, America strengthens its economy, protects vital trade routes, and curtails the growing influence of adversaries. The fight isn’t just about geography—it’s about values.
Trump’s vision recognizes that American strength is a bulwark against tyranny. A strong America doesn’t just serve Americans—it serves the cause of freedom for all.
But the ultimate success of this strategy depends on one thing: vigilance. America must remain true to its founding values of liberty, autonomy, and justice. That means balancing global influence with domestic safeguards, ensuring that while we project strength abroad, we don’t compromise freedom at home. Only then can the American empire thrive as a force for good, outshining authoritarian rivals like China and Russia, and ensuring a world where liberty reigns supreme.
#Canada#Greenland#Denmark#Trump#MAGA#China#Russia#Iran#War#Israel#America#US#USA#Liberty#Freedom#Politics#Panama
Part 1
@KayleighMcEnany