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
#Holdcoin New Year Gift is Here!
🚨
Join HoldCoin and HOLD onto your New Year luck! 🏆
🤔Block Challenge: Which"crypto block"can clear the most lines?
Leave your answer in the comments section of the link below, and don’t forget to include your game ID and TG username!‼️
https://x.com/holdcoingo/status/1874428330965168600?s=46
We’ll select 30 lucky players to receive 50 stars as a reward!!! ⬆️⬆️
#Holdcoin coin Future Guidance
💎
💎
🌟The roadmap illuminates the future journey, from functional innovation to territorial expansion, leading to the grand vision of comprehensive ecological prosperity! ‼️
Let's move on together
Holding = rich!🫴🫴
Season 2 airdrop is coming !🚀
♾#HoldCoin Pre-Trade Now Live on CoinEx!🚨
CoinEx, a globally renowned digital asset trading platform, is now offering you the pre-trade opportunity for $HOLD! Seize this rare chance and become a pioneer!⚡️🌟
⏰Start Time: November 25, 2024
⚖️ Services: Pre-minting & Trading
🛍 Important Reminder: Make sure your wallet is ready, understand the trading details, and stay tuned to CoinEx for updates — don’t miss any important information!
More Details📥
🗳 Announcement:https://t.co/9zFQUlGTwy
⛏️ Pre-mint:https://t.co/USH0CMUSeA
📲 Trade:https://t.co/N86rhANMdK
Thank you for your support and trust. Take action now and join CoinEx to start the new era of #HoldCoin!🚀🚀
💎#HOLDCOIN AIRDROP FRENZY IS COMING!🔥🔥
🎉 Dear holders, we are thrilled to announce that the $HOLD project is about to launch its pre-trading phase—an opportunity you simply can’t miss!💎
🔭 Pre-Trading Date:
November 25th, officially kicking off on the Gate.io platform!💼
🐳 How to Participate:
✨ Ensure your wallet is ready.
✨ Carefully review the trading details to avoid any issues.
✨ Stay updated with Gate.io announcements for the latest information!
🏃♂️ Learn More:
https://www.gate.io/zh/announcements/article/40993
https://www.gate.io/zh/pre-market/HOLD
Let’s embrace this new chapter of #HoldCoin and work together to drive the project’s success! 👍😃
⚡️⚡️⚡️⚡️⚡️⚡️
👉The HoldCoin white paper is officially released, revealing the grand plans and exciting vision for HoldCoin’s future! Click the link below to dive into all the details—this is something you don’t want to miss! 💥
https://drive.google.com/file/d/1bAJfC3HWyUYooBjyfBB8fT1w8h3CTGfC/view?usp=sharing
🕯 Stay Hold-ready and seize this once-in-a-lifetime opportunity—wealth is on the horizon! 💪
#HoldCoin's journey to wealth is accelerating—keep up, and don’t miss your moment of glory! 📈📈
Additionally, The airdrop plan is about to be officially released—act fast and seize the advantage! 🚀
⭐️Showcase Your HoldCoin Achievements⭐️
🫡 The HoldCoin community is growing rapidly, attracting more users from around the world.
😎Now is your time to shine! Share your gold and diamond counts and show off your Hold power!
Participation details:
📸 Post a screenshot of your HoldCoin game assets
🏷 Use the hashtag #HoldCoin
💬 Leave your game ID in the comments
✨ We will randomly select 50 lucky players, each winning 1,000 diamonds! 💰
Hold is victory! Become a wealth hero in HoldCoin and start your legendary journey today! 💪
🚨#MEXC New Listing Alert!
📈 $HOLD/USDT will be listed in the Innovation Zone on 2024-12-16 13:00 (UTC).
In the crypto asset management simulator game #HoldCoin, which is based on Telegram, users can HOLD assets and create a portfolio to generate coins.
Details: https://www.mexc.com/support/articles/17827791520405
💎#HoldCoin is taking the world by storm!
🔥 Major media outlets like Cryptoate, Cryptomanias, Geekocoin, Digital Journal, and Benzinga have all reported on HoldCoin. 💎
Does this mean some big events are just around the corner? 🐂
Keep holding #Hold! Follow our channel and X to get the latest updates on the TGE as soon as they drop! 🚀
🚀 TON Fest Season 1 heats up with HoldCoin🎉
💥Win 6 Million Diamonds & $TON
🔥The longer you “hold”, the more you are rewarded
📆Sept 3-Sept 8, 4 AM UTC
👉HoldCoin mini app
Open SafePal App QuestHub to join the campaign now!
📱DL App: http://safepal.com/download
📚Learn more campaign detail
#SFP#TonFest#HoldCoin
💎 HoldCoin - 🐟 TonFish Joint Giveaway
Complete tasks to win big prizes!
🎁💵HoldCoin and Ton Fish are excited to announce an incredible giveaway. Anyone can participate, so don't miss this perfect chance to win astonishing rewards!
🗓 Timing: June 18th at 00:00 - June 22nd at 24:00 (UTC)
☄️ How to participate:
- Join the HoldCoin game
- Follow Ton Fish
- Follow HoldCoin
- Like, retweet this post (https://x.com/HoldCoinGo/status/1802965219297349981) and tag 3 friends, using hashtags #HoldCoinGo#HoldCoin#TonFish#Fish
💰Complete the above tasks to enter, and we will select 50 users to receive an airdrop of 100,000 $HOLD.
🤜Invite friends to the HoldCoin game to earn an unlimited amount of $HOLD. Join now and claim your rewards immediately!
💥 Play the game 👉@theHoldCoinBot (https://t.me/theHoldCoinBot/app)