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
☺️Farmix – Latest News Review and Upcoming AMA
Updates and changes:
➡️Increased RP for Lending in Farmix – in3⃣ The RP farm for providing liquidity in TON, USDT, NOT, stTON and tsTON, which can later be exchanged for protocol tokens, has been increased several times.
➡️ When closing a position, you can choose to convert LP into a credit token. At the moment, the function works in the $TON/$USDT pair and only for new positions. The update has fully prepared the team for the emergence of new highly liquid stablecoins with increased leverage up to 8x.
➡️Roadmap released
➡️ The formula for calculating the Estimate Profit indicator has been updated.
➡️ The #Farmix RP leaderboard in TMA has appeared.
🎙 The team announced an upcoming AMA session, where they will discuss the current results and plans of the project. The broadcast will take place on April 7 on the #Farmix Telegram channel at 19:00 UTC+3. You can ask questions through the form, and 3 participants with the most interesting questions will receive $USDT each.
📖 If you have any questions about the project, you can ask them in the chat. There is also a step-by-step text guide for opening a farm.
Farmix | Channel | Documentation
🙏TON Society just added SBT Points
For now not all SBTs have amount of points that their owners will receive, but a trend is already visible — the more valuable in terms of the number of points are #DeFi SBTs and for contributors to the blockchain.
If you want to earn more points you have you should definitely get these SBTs:
💎 8 more days to get🙏9,500 for two valuable SBT Farmix in the BroBot contest✋
💎12 days to get tBook SBT Late Night DeFi with general speed 🙏27,000 points.
#TON#BroBot#SBT#Farmix
😎–Hey Bro! $1,500 and free SBTs for you!
We’re launching a new quest with Farmix — leveraged lending liquidity protocol.
Prize pool: just gain 600 XP and hold Lending for a chance to win one of 150 $10 prizes, extra XP, and guaranteed #SBT from TON Society!
🚀Join the quest now and share with your Bros!
📖
Deadline: Dec. 27, 15.00 UTC
#TON#BroBot#contest#Farmix
🧑💻Review: Farmix – The Innovative Force in TON DeFi
☺️Farmix appeared relatively recently, it is a semi-finalist of #DoraHacks hackathon. In a nutshell, it is a marginal farming protocol that allows you to significantly increase the profitability of your farms by using leverage.
🪙 We have already tested their farming pools a couple of weeks ago, everything went well and without complications. At that time, the APR in the farms was very high, some pairs gave up to 9,000% APR. Below is a short guide for working with Farmix.
🐷 On average, #Farmix farms are 3-5 times higher than in #DEX pools. There are two options to earn income for providing your assets: Lending and Farms. We will look at the Farms option, because this is the most interesting:
🟡Log in to Farmix and connect your MTW wallet.
🟡 Go to the "Farmers" tab and find the pair you are interested in, for example we will use the STORM/TON pair.
🟡 First, select "Borrow asset" — this is the asset in which you will take a loan for leverage in the farm. In the case of the STORM/TON farm, only the TON loan asset is available.
🟡Enter in the $STORM/$TON fields how much STORM and TON you will provide as collateral. In #Farmix you can open a farm with one token, it is not necessary to provide both tokens, as the smart contract itself will convert the tokens into a 50/50 pair and form LP tokens.
🟡Select the leverage (Leverage slider) with which you want to open the farm. The higher the leverage, the higher the APR of the farm, but the liquidation risks also increase.
🟡Click Open position at the bottom, sign the transaction in the wallet and in a few minutes your first farm will be open.
⚠️Important: Please note that leverage is only provided for collateral in $TON , $USDT , $tsTON, $stTON, $NOT . Any position with leverage > 1 has its own health factor. HF > 1.3 is considered moderate, HF = 1 - the position is liquidated.
📊 At first glance, the guide may seem complicated, but everything is generally intuitive. If you have any questions about the work of the project, farms, etc., you can ask them 🔔in our chat. You will also receive RP points for staking and farming, more details in the "Reward activities" tab. And as usual #NFR#DYOR
Farmix | Channel | Project documentation