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
⚡️TON MemeRepublic: Lambo Week 2 Winner Announced
#TON#LAMBO
TON MemeRepublic reveals the winner of Lambo Week 2 as the LAMBO token, highlighting $100K in liquidity provisioning and $50K in purchases. Utilized through Swap Coffee, this involves DCA engine and liquidity deployment on STON.fi. The process will continue weekly with new tokens.
Source: link
@tonlines
⚡️swap.coffee: $LAMBO Trading Competition Announcement
#LAMBO#swap
swap.coffee presents an exciting $LAMBO trading competition with a prize pool of $2,500. Participants can trade on swap.coffee or @swapi between November 19 and 21. Top traders and random participants have chances to win various prizes in $LAMBO and Lunar Snake Onyx Black gifts.
Source: link
@tonlines
Last Call for Swap.Coffee Trading Competition!
#LAMBO#trading
Swap.coffee is hosting a $LAMBO trading competition with $2,500 in rewards. Less than 2 hours remain to join and trade for a chance to win through various prize categories, including random daily selections and top trading volume rewards.
Source: link
@tonlines
swap.coffee: LAMBO Trading Competition Concludes
#LAMBO#memerepublic
The LAMBO trading competition hosted by swap.coffee has concluded, with all rewards now available in the Claim Center. Congratulations to the LAMBO team for securing 1st place in memerepublic.
Source: link
@tonlines
⚡️TON MemeRepublic: Highlights from Week 2
#BeInCrypto#LAMBO
BeInCrypto has published a comprehensive overview of TON MemeRepublic's second week, highlighting LAMBO's victory with significant community support. The dynamic leaderboard features POK, DICKSHOTI, OC & AMORE, while favorites like UTYA, DOGS, and REDO remain competitive amid new contenders.
Source: link
@tonlines
swap.coffee: Last Chance to Win $LAMBO Prizes
#LAMBO#swap_coffee
Participants have until November 23 to hold their $LAMBO for a chance to win premium prizes on swap.coffee. The trading competition ends tomorrow, providing an opportunity to increase trading volume and earn rewards.
Source: link
@tonlines
⚡️TON MemeRepublic: LAMBO Triumphs in Week 2
#LAMBO#DEX#memecoins
TON MemeRepublic announces LAMBO as the winner of Week 2, awarding $100K after outstanding performance. Updates include a minimum 1% LP trading fee requirement and disqualification for unfounded accusations. Winners are supported with partnerships and guidance to scale their projects.
Source: link
@tonlines
📍 List of abbreviations commonly used in cryptocurrency trading:
#ALTCOIN = Alternate cryptocurrency except bitcoin
#SHITCOIN = A coin with no potential value or use
#BEAR | #BEARISH = Negative price movement
#BULL | #BULLISH = Positive price movement
#LONG = Margin buy position
#SHORT = Margin sell position
#BTFD = Buy The Fucking Dip
#DILDO = Long green or red candles 😆
#DYOR = Do Your Own Research
#FA = Fundamental Analysis
#TA = Technical Analysis
#FOMO = Fear Of Missing Out
#JOMO = Joy Of Missing Out
#FUD = Fear Uncertainty & Doubt
#HODL = Hold a position
#MCAP = Market Capitalization
#MOON = Continuous upward movement of price
#OTC = Over The Counter
#PUMP = Upward price movement
#DUMP = To sell off a coin
#REKT = When you have a bad loss
#WHALE = Very wealthy trader/Market mover
#AMA = Ask me anything
#ATH = All Time High
#ATL = All Time Low
#DLT = Distributed ledger technology
#IMO = In My Opinion
#LAMBO = Lambo is symbol that becomes an elusive goal for most investors
#NOOB = A person who is inexperienced
#SAFU = Secure Asset Funds for Users
#SHILL = Holder of altcoin who just wants to promote it for his own benefit
✅@ElfCryptoVIP