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
🔴📺Netanyahu doit relâcher immédiatement les douze membres de l’équipage de la #FreedomFlotilla !
👉https://youtu.be/ESd_d14gNQ4
Bon visionnage et n'hésitez pas à partager !
-----------
On vous a transféré ce message ? Abonnez-vous au canal Telegram de Jean-Luc Mélenchon sur : https://t.me/JLMelenchon
Se tenir prêt. Communiquer. Rima, Greta et le petit bateau anti blocus s'approche de la côte. Les commandos meurtriers de Netanyahu sont prêts à bondir.
#FreedomFlotilla
👉Partager sur Twitter
👉Partager sur Bluesky
-----------
On vous a transféré ce message ? Abonnez-vous au canal Telegram de Jean-Luc Mélenchon sur : https://t.me/JLMelenchon
🔴En direct avec Rima Hassan - Ne quittons pas des yeux Freedom Flotilla !
J'ai échangé avec Rima Hassan sur Al-Jazeera à bord du #FreedomFlotilla pour lui dire toute mon admiration pour son courage et sa détermination.
N'hésitez pas à partager et à continuer de les soutenir !
👉https://youtu.be/DBU_VjUAi4M
-----------
On vous a transféré ce message ? Abonnez-vous au canal Telegram de Jean-Luc Mélenchon sur : https://t.me/JLMelenchon
Le forze armate israeliane intervengono sulla flotta #FreedomFlotilla, a bordo ci sono 3 parlamentari nazionali del Parlamento della Repubblica di #Turchia.
🔴URGENT - Rassemblement pour libérer la Flottille de la Liberté et contre le génocide à Gaza !
Ce lundi 9 juin à 18h, rendez-vous à la Place de la République à Paris.
Soyons nombreuses et nombreux ! Merci de partager ce message !
#FlottilleDeLaLiberté#FreedomFlotilla
-----
Plus d'infos : https://t.me/FranceInsoumise
🔴URGENT - Rassemblement pourla libération sans conditions des prisonniers et la fin du blocus à Gaza !
Ce mardi 10 juin à 18h, rendez-vous à la Place de la République à Paris.
Soyons nombreuses et nombreux ! Merci de partager ce message !
#FlottilleDeLaLiberté#FreedomFlotilla#StopGenocide
-------
Plus d'infos : https://t.me/FranceInsoumise
Tareq, from Gaza, was one of the dozens of international volunteers, ready to sail to Palestine with aid and revolutionary hope. This is why he joined the Freedom Flotilla Coalition, and why we must continue fighting for the 'Conscience', which is currently still stranded in international waters. #AllEyesOnDeck#FreedomFlotilla#StandWithGaza. ⬇️
Dopo giorni di navigazione nel Mediterraneo orientale, la Handala – la nave umanitaria della Freedom Flotilla Coalition – è stata ufficialmente intercettata dalle forze navali israeliane mentre si avvicinava alla Striscia di Gaza. Il blocco è avvenuto mentre la nave si trovava a circa 100 miglia marine dalla costa, in acque internazionali, e sotto costante sorveglianza aerea da parte di un drone israeliano Heron.
Il viaggio della Handala era cominciato il 13 luglio 2025, quando ha lasciato il porto di Siracusa con a bordo 19 attivisti internazionali, tra cui due italiani.
La nave ha puntato la prua verso Gaza, portando con sé alcuni aiuti simbolici: medicinali essenziali, latte in polvere, alimenti base e giocattoli per i bambini della Striscia. Una missione dalla forte valenza politica e umanitaria: rompere simbolicamente il blocco navale israeliano e denunciare la situazione drammatica che vive la popolazione palestinese.
#gazagenocide#handala#freedomflotilla#israel#idf
UN EXPERTS DEMAND SAFE PASSAGE FOR ‘MADLEEN’
JOIN THEM
Today, UN experts called for safe passage for the Madleen — our civilian ship carrying vital aid and international volunteers to Gaza.
Now we need your voice. Let’s turn international law into action.
📣 Take one minute: go to bit.ly/IsraelOnNotice and send a letter to the Israeli government, UN officials, and diplomatic missions demanding that Israel abide by international law and refrain from attacking, sabotaging or otherwise interfering with the Madleen and her mission.
Together, we can open a people’s sea corridor to Gaza. #SafePassage#BreakTheSiege#FreedomFlotilla
Hours before the Freedom Flotilla’s ship, the ‘Conscience’, was about to be boarded by dozens of volunteers from over 21 countries (including high profile activists), the ship was attacked by two drones. Signal was cut and information about the number of people on board was not clear. SOS distress signals were ignored. Here is what happened. #AllEyesOnDeck#DemandSafePassage#FreedomFlotilla
"‘We Need More Angry Young Women’ To End Israeli #Genocide Of #Gaza... And Fewer Angry, Old, White Politicians."
Climate Activist and Gaza #FreedomFlotilla volunteer Greta Thunberg’s response to Trump’s assertion that she needs anger management.
By Ann Wright, in Popular Resistance.
https://popularresistance.org/we-need-more-angry-young-women-to-end-israeli-genocide-of-gaza/
The Freedom Flotilla Coalition is setting sail again.
Join us in Siracusa, Italy — or online — on July 13 at 10:30 CEST (GMT+2) as we launch ‘Handala’ on its journey toward Gaza.
Just weeks after Israeli forces illegally seized our boat ‘Madleen’ and abducted 12 unarmed civilians in international waters, we continue — with global solidarity — to challenge Israel’s illegal and deadly siege.
This mission is for the children of Gaza.
#FreedomFlotilla#WeWillSail#AllEyesOnDeck#BreakTheSiege#Handala