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
Last Friday, the National One Health Technical Committee (NOHTC) brought together key stakeholders across human, animal, and environmental health to:
✅ Review progress on previous action points
✅ Share updates on ongoing programmes and current outbreaks
✅ Align strategies to strengthen Nigeria’s health security through coordinated, multisectoral action
Together, we’re advancing a resilient, data-driven OneHealth system for prevention, preparedness, and response.
#HealthSecurity#NCDCNigeria#PublicHealth#OneHealth
🚨 Public Health Advisory: Ebola Virus Disease (EVD)
The Nigeria Centre for Disease Control and Prevention (NCDC) has released a public health Advisory following the announcement of an Ebola Outbreak in DR Congo.
Though no case has been reported in Nigeria, NCDC is closely monitoring the situation.
Key Preventive Measures:
▪️Wash hands frequently with soap & running water
▪️Avoid contact with sick individuals showing symptoms like fever, vomiting, diarrhoea & bleeding
▪️Avoid bushmeat and ensure all animal products are well-cooked
▪️Healthcare workers: maintain high IPC standards & use PPE 🧑⚕️
Read the full advisory 🔗https://ncdc.gov.ng/themes/common/docs/protocols/369_1757166366.pdf
If you or anyone you know (with recent travel to affected areas) experiences symptoms, call 📞 6232 or your State Ministry of Health hotline immediately.
Together, we can prevent the spread and protect Nigeria. 🇳🇬
#EbolaAdvisory#HealthSecurity#NCDCNigeria
🚨 PUBLIC HEALTH ADVISORY 🚨
The Nigeria Centre for Disease Control and Prevention (NCDC) has announced that Nigeria currently has no confirmed case of Ebola Virus Disease (EVD), following the ongoing outbreak in the Democratic Republic of the Congo and a reported imported case in Uganda.
🦠 Ebola Virus Disease is a severe viral illness transmitted through direct contact with infected bodily fluids or contaminated materials.
Common symptoms include:
✅Fever
✅Headache
✅Weakness
✅Muscle pain
✅Vomiting
✅Diarrhoea
✅severe cases, unexplained bleeding.
The NCDC is actively strengthening surveillance, laboratory readiness, infection prevention, and public awareness efforts across the country. Nigerians are advised to remain calm, maintain good hand hygiene, avoid misinformation, and report unusual illnesses promptly.
Stay informed through official public health channels only. Together, we can strengthen preparedness and protect public health.
#Ebola#PublicHealth#NCDCNigeria#HealthSecurity
#Ebola is caused by the Ebolavirus — a group of viruses with several species, including Zaire, Sudan, Bundibugyo, Taï Forest, and Reston ebolavirus (which affects animals but not humans).
Knowing the cause helps us strengthen prevention and response efforts. 💪🏾
Stay Safe, Stay Protected!
#EbolaAwareness#HealthSecurity#NCDCNigeria
Our first strategy 'Idea to Reality' incorporated a new vision and mission that cascaded into 5 Strategic Goals, 22 Objectives and 89 Activities.
TOMORROW, November 21, marks another major milestone for #healthsecurity champions as we launch the:
📣Nigeria Centre for Disease Control and Prevention Strategy (2023-2027): #VisiontoAction📣
Don't miss out. Join us online via bit.ly/NCDCStrategyLaunch
#IAmHealthSecurity
The D-DAY has commenced.
Join us now as we kickstart our #HealthSecurity partners meeting and the #NCDCStrategy 2023-2027 launch event.
🔗bit.ly/NCDCStrategyLaunch
#IAmHealthSecurity#Vision2Action