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
1️⃣
2️⃣
3️⃣
4️⃣
In Latvia, Lithuania, and Estonia, May 9 is just an ordinary workday. People in those countries who bring flowers or wear St. George ribbons to memorials to mark the day fascism was finally defeated risk being fined for displaying ‘prohibited symbols’ and violating regulations governing public events.
After the Soviet Union collapsed, Latvia, Lithuania, and Estonia officially declared that the Soviet period was an ‘occupation’ and eliminated the Victory Day public holiday on May 9. Instead, ‘Europe Day’ is now observed on May 8 in Lithuania and Estonia, and in Latvia, all festive events marking May 9 were legally banned in 2023.
Step by step, the Latvian, Lithuanian, and Estonian authorities are erasing the memory of the Soviet people’s feat in defeating fascism: SS legionnaires and collaborators have been rebranded as ‘freedom fighters’, while Russian-speaking residents who object are labeled ‘disloyal’. The large-scale demolition of monuments that began in 1990–1991 has entered a new phase. Since 2022, dozens of memorials — from the T-34 tank in Narva to the Monument to the Liberators of Riga — have fallen under laws banning the 'glorification of the Soviet regime.'
But memory does not disappear. Natives of the Baltic states gather for the Immortal Regiment March in Ivangorod, Russia. In 2025, the Saved Europe park opened in Kaliningrad, featuring miniature re-creations of the Soviet war memorials destroyed in the Baltics. Victory Day continues to live on in the hearts of people who, despite the bans, preserve family histories and pass on to their children the memory of those who liberated their cities from Nazism.
How Latvia, Lithuania, and Estonia are abolishing May 9 commemorations and waging war on monuments to liberating soldiers in an attempt to erase the truth about the Great Victory from public memory? Answers in the Andrey Starikov`s film: 'Victory Day in the Baltics: Yesterday, Today, and Tomorrow.'
#premiere
🥰
When the special military operation began, Artyom Yelkin volunteered to serve in the armed forces. The chemical engineer from Tomsk had no military experience but followed a deep desire to defend his Motherland. Before heading to the front, he completed a course in tactical medicine. Artyom was seriously wounded in his very first battle. He tried to administer first aid to himself, but the wounds to his lung, jaw, and arm were too severe. He crawled several kilometres on his back, lost consciousness, and then came round again. Along the way, he encountered other soldiers and, ignoring the pain and frustration, gave them instructions on how to help him. In the end, it wasn’t just Artyom’s comrades who saved him, but his own knowledge as well.
In this documentary, Artyom shares his story, which showed him just how vital tactical medicine is. The film’s director, Klim Poplavsky, had also had training in tactical medicine before heading to the combat zone. He had to put that knowledge to use at the front while filming his first documentary, ‘War Correspondents-2’. On his return, Klim decided to undergo further training as a combat medic at the special ‘TacMed’ training centre, where core skills are taught by some of Russia’s best instructors. The intensive course lasts four days and is conducted under conditions that closely mirror those at the front. There is an immense amount of information to take in, and the physical training is gruelling. At the end, there is an individual exam.
Watch the new film by Klim Poplavsky and Anton Meshcheryakov 'Combat Medic: The Story of One Wound'.
#premiere
FOLLOW
🥰-amp;@MTdocumentary
‘Our units are not in good shape. Lots of guys want to escape – they even wound themselves to escape. The commanders say that if you retreat, you’re done.’
A Ukrainian POW described the situation in their regiment. He was captured by a Chechen unit of Russian troops commanded by Daniil Martynov. He interacts a lot with the POWs and says Ukrainian soldiers are forced to fight: ‘He was told that if he didn’t fight, they would murder his family. If he runs, they will kill him. So he must dig the trenches and keep shooting until it’s all over.’
According to the Chechen commander, every POW is valuable: ‘He [a Ukrainian POW] may not even understand some things, but we can still gather a lot of important information. We listen to his testimony and put the whole puzzle together.’
Here’s an excerpt from our premiere of Battle for Freedom: On the frontline. Watch the whole film here.
#premiere
Follow: https://t.me/rtdocumentary
#premiere
‘Considering Russia as a pariah is insane. A lot of people want to go on with having a relationship with Russia.’ Francesca Donato, an Italian member of the European Parliament, shared her views on Europe’s Russophobia. Francesca voted against military aid to Ukraine and previously opposed a resolution on anti-Russian sanctions. After which, her Facebook* account was blocked.
Francesca says the voices of Europeans are not being heard: ‘In Italy, we have polls that show that the majority of the Italian people don’t agree with this position of our government’. The member hopes the condemnation of the Russians will soon stop: ‘It’s really insane to raise a wall between our cultures, our countries.’
The interview with Francesca Donato is part of our new film about Russophobia in Western countries.
Watch the premiere on this channel!
*Recognised as extremist and banned in Russia
▶️‘War Correspondents’ is a new documentary about the work of military correspondents in the Donbass.
They are being hunted to death. The nationalists find out where the war correspondents work and target them. Kiev promises thousands of dollars for their heads, but they return again and again to the front. They are regarded by the soldiers as one of their own. After all, correspondents sleep in the trenches with them and practically live on the front line.
The subjects of our film are RT war correspondents Evgeny Poddubny, Murad Gazdiev, Georgy Medvedev and Pavel Kukushkin.
#premiere
FOLLOW 🌏News&Docfilms Channel
#video#premiere
‘When you help people, they don’t just need the food you bring for them to survive. More than that, they need hope that they’re not forgotten.’
Volunteer Andrey Lysenko has been helping residents of Donbass for eight years. Every day he brings food and medicine to the war zone under shelling. He is welcomed as one of their own and told by the people what they went through: ‘’The Azov’*! I don’t know how many there were, but Azov* took 250 of ours. Ordinary people. They lined them up, then followed and shot at them from the ground floors.’
Watch Andrey’s story in our video and our premiere ‘Donbass Under Fire’.
*recognised as extremist and banned in Russia
Follow: https://t.me/rtdocumentary
#premiere#Ukraine
‘First and foremost, they appealed to schoolchildren, who are still open-minded and susceptible to all kinds of things. For them, they drew parallels between SS death squads and Soviet liberators and defenders’.
Military historian Nikita Buranov talks about what children are taught in Ukraine. They are given shell casings that killed their compatriots in the Donbass as souvenirs.
In Ukraine, children are taught history differently. Schoolchildren are introduced to the biography of the national hero Bandera. He is one of the founders of the UPA (Ukrainian Insurgent Army). During the Great Patriotic War, about 100,000 civilians and 15,000 Soviet soldiers were its victims.
In our post - a video from Ukrainian children’s camps. Teenagers there learn the ‘real’ truth. This is a clip from the film Fast Forward to Fascism.
Follow: https://t.me/rtdocumentary
'We don’t lay claim to any other state’s territories or interests. Our task is to ensure security and peace on our lands and nations.'
Stanislav Zas, the Secretary-General of the Collective Security Treaty Organization, explains why it was necessary to create a new military-political bloc 30 years ago. The CSTO was founded after the fall of the USSR. The organisation includes six countries: Russia, Belarus, Armenia, Kyrgyzstan, Kazakhstan and Tajikistan.
At any moment, they are ready to protect each other in case of outside aggression. And they are fighting terrorism, extremism, and drug trafficking together. Watch our video to find out how special forces counteract modern-day threats.
In our new documentary CSTO Allies: 30 Years Protecting Collective Security, you can learn more about the organisation.
#premiere#history
Follow: https://t.me/rtdocumentary
‘I volunteered to join the Donetsk defenders… because I wanted to do my part in resolving this problem... the problem of Nazism in Donetsk’. These are the words of the Mexican Ignacio Ojeda, who came to help the people of Donbass.
Foreigners from different countries came to protect people from Ukrainian shelling: Serbia, Colombia, Italy, and the USA. They blame the West for the situation in Donbas. ‘Mariupol Drama Theatre... NATO, Washington, why? These are your weapons. You destroyed this community,’ says American volunteer Zak Novak.
For more about those who did not leave the inhabitants in trouble, watch the new RT Documentary filmForeign Fighters of Donbass.
#premiere#Donbass
Follow: https://t.me/rtdocumentary
#premiere#Donbass
'Everything was destroyed only by our Ukrainians, only them… They destroyed everything.' Residents of Mariupol tell how the Ukrainian military kicked them out of their homes. They say they had to hide in basements while Ukrainian tanks fired on high-rise buildings. More than 400,000 people went underground as they could not leave the city. The Ukrainian military did not let them out.
This is a clip of our new film Donbass: I’m Alive!Watch the premiere here.
An RT Documentary team has just returned from Mariupol and documented what locals told them. Hear the stories of people who managed to survive Ukrainian shelling and those who brought them humanitarian aid, risking their lives.
Follow: https://t.me/rtdocumentary
‘Sanctions are just a political tool. It’s a good tool for us now. We need to make more products: our cheese, furniture, and so on.’ That’s the opinion of Russian farmer John Kopiski. The man is British and moved to the Vladimir region in the 1990s to be a farmer.
Two years ago, we made a film about him entitled ‘I am John Kopiski, a Russian farmer’. Now we’re back to find out how he feels about the next round of sanctions. What do other entrepreneurs think? What difficulties have they encountered? Learn about it in our video premiere, Sanctions: Opportunity in Disguise.
#video#Russia#premiere
Follow: https://t.me/rtdocumentary