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
For insulin production at home, the essential materials and tools you need include:
- Raw material: Purified crushed pig pancreas (or other animal pancreas)
- Solvents: Ethanol, chloroform (for extraction and purification)
- Acids and bases: Hydrochloric acid, sodium hydroxide (for hydrolysis and pH adjustments)
- Equipment:
- Centrifuge (to separate insulin from other substances)
- Beakers and flasks
- Water bath (to control temperature during reactions)
- Pipettes (for precise liquid handling)
- Syringes (for measuring and transferring liquids)
- Safety gear: Gloves, goggles, lab coat
- Testing tools: Chromatography setup (e.g., HPLC) or bioassay kits to verify purity and potency
These are the core items needed to extract, purify, and test insulin safely and effectively.
[Source]
@googlefactss
#Insulin#Diabetes#DIY#Health#Science🧪🐖💉
✒️Ambassador Albert P. Khorev's Interview with the TASS News Agency(February 9, 2026)
Key points:
#Priorities
Currently, we are prioritizing contacts in the field of regional security and the fight against international terrorism. We are also coordinating efforts in multilateral forums, primarily the UN and the SCO. Cooperation between the cities and regions of our respective countries also shows promise. Moscow, the Republic of Tatarstan, and Primorsky Krai in Russia, as well as the provinces of Punjab and Sindh in Pakistan, have already expressed interest in this regard.
#Education#Science#Culture
We are paying special attention to strengthening ties in education, science, and culture. We are actively working to promote the Russian language in Pakistan, including through the federal project "Russian Teachers Abroad." We also facilitate the organization of joint scientific conferences and cultural and sporting events.
#PakistanStillMills#Insulin
In the coming years, it is crucial to promote mutual trade, develop reliable alternative payment mechanisms, and implement large-scale joint projects. These projects include the revival of the Pakistan Still Mills, establishing rail connections between Russia and Pakistan, collaborating on hydropower, and creating joint ventures to produce medicines, including insulin.
#Oil
Pakistan is interested in cooperating with our country in oil exploration and production. Russia is ready to help Pakistan strengthen its energy sovereignty. We already have positive experience in this area. It was the USSR that helped Pakistan establish the state-owned oil and gas company, the Oil and Gas Development Company Limited, in the 1960s, and it assisted in discovering a number of oil and gas fields in Pakistan.
#SCO
We acknowledge the constructive collaboration with our Pakistani partners within the SCO. Ensuring regional security and combating terrorism and organized transnational crime are our priorities.
#BRICS#NewDevelopmentBank
Russia welcomes Pakistan's interest in joining BRICS. One practical step toward integrating Pakistan into BRICS could be Islamabad's accession to the New Development Bank, which finances infrastructure projects in developing countries.
#DiplomatsDay
On February 10, the Russian Foreign Service celebrates Diplomats' Day. On this festive occasion, I would like to wish my colleagues in Moscow and at foreign missions happiness, good health, endless inspiration, and success in promoting Russia's position on the world stage.
#RussiaPakistan