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
Mikadra to Wollega: The Atrocities the West Refuses to Confront. Read more.
https://borkena.com/2025/11/28/ethiopia-mikadra-to-wollega-the-atrocities-the-west-refuses-to-confront/#Ethiopia#humanrights#TPLF#OLF#Amhara
News: OLF-OLA joins #Fano in criticizing #Ethiopia’s upcoming election, calls it a ‘hollow ritual’
A week after the #Amhara Fano National Movement issued warnings over participation, the Oromo Liberation Front–Oromo Liberation Army (#OLF-#OLA) has also dismissed Ethiopia’s upcoming national election as lacking credibility, claiming that much of the country remains beyond the reach of a meaningful electoral process.
In a press release issued on March 23, the group said the election has been reduced to “a performance staged for foreign consumption,” with over seventy percent of the country inaccessible for credible voting.
According to the statement, major opposition parties have either withdrawn or are participating solely to avoid deregistration or to expose what it described as flaws in the process. “All remaining parties in the process are either created by or colluding with the regime,” the group added.
Last week, Addis Standard reported, citing the…..
Read more: https://addisstandard.com/?p=56026
News: #PM_Abiy lays foundation for #Africa’s largest Airport; #OLF describes project as extension of 2014 “Master Plan,” demands equity
Prime Minister Abiy Ahmed on Saturday laid the foundation stone for the #Bishoftu International Airport, poised to become Africa’s largest aviation hub, while the Oromo Liberation Front (OLF) condemned the project as involving “forced displacement,” alleging that thousands of residents are being uprooted and demanding ownership stakes for affected farmers.
The ceremony in Abbuu Seeraa, Bishoftu, was attended by Deputy Prime Minister Temesgen Tiruneh, #Oromia Regional President Shimelis Abdisa, & Ethiopian Airlines Group CEO Mesfin Tasew.
Speaking at the event, Prime Minister Abiy described the airport as a “mega station” central to Ethiopia’s long-term aviation and industrial strategy, with the capacity to handle up to 110 million passengers.
The OLF described the project as a humanitarian crisis, alleging that it extends
Read more: https://addisstandard.com/?p=54477
#Premiering_now: Two Years Without Justice: Remembering the BrutalAssassination of Bate Urgessa
April 9, 2024, a night that ended in a brutal execution a husband, a father of five, an intellectual and a peaceful politician.
Two years later, the questions remain.
Click here to watch: https://youtu.be/gAXvr9JN3Y8?si=q7C8otTOvcTw_fZ5
In this commemorative episode of The Standard Signal, host Tsedale Lemma discusses with Prof. Ezekiel Gebissa to revisit the life, final hours, and aftermath of Bate Urgessa’s brutal assassination by government forces, and examine what has (and hasn’t) changed since.
#BateUrgessa#Ethiopia#JusticeDelayed#HumanRights#Oromo#OLF#PoliticalViolence#Accountability#AfricaNews#HornOfAfrica#TheStandardSignal#NeverForget
The Standard Signal Ep 16| Two Years Without Justice: Remembering the Brutal Assassination of Bate Urgessa
On April 9, 2024, Bate Urgessa was brutally assassinated by government forces.
This special episode revisits the timeline, and what it reveals about justice and political space in Ethiopia today.
#TsedaleLemma in conversation with #EzekielGebissa
Premiers tonight at 7:30 PM EAT
Subscribe to watch: https://youtube.com/@addisstandard
#BateUrgessa#Ethiopia#Anniversary#JusticeDelayed#HumanRights#PoliticalViolence#Oromo#OLF#Accountability#HornOfAfrica#TheStandardSignal