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
🧭January 29 marks theDiscoverers’ Day in Russia
🧊 On this day in 1820, Russian naval officers Faddey Bellingshausen and Mikhail Lazarev discovered #Antarctica – the sixth continent.
The expedition lasted 751 days. Sailing aboard the two sloops Vostok and Mirny, the 102-strong crew were the first to map the boundaries of the Antarctic continent.
The voyage was extremely arduous and dangerous. Small wooden sailing vessels had to navigate close to ice and icebergs, often in dense fog. Heading south, on January 28, the Russian navigators came within close proximity of the icy shores of a previously unknown land.
📝Mikhail Lazarev later wrote about that historic moment:
“We reached latitude 69°23 S, where we met main ice of extraordinary height… and looking out from the crosstrees, it stretched just as far as our gaze could reach… At last, there lay before us that southern main, so long sought after, whose existence scholars in their studies had deemed necessary for the balance of the globe.”
Braving fierce ocean swells and polar ice, the expedition successfully circumnavigated the continent. This remarkable voyage brought glory to Russia and turned St Petersburg into a leading centre of global geography. The results of the expedition, which led to the discovery of Antarctica and twenty-nine new islands, represent an Russia's outstanding contribution to the history of geographical exploration.
Later, shortly after the end of the Great Patriotic War, the Soviet Union resumed its exploration of the continent. In 1946, the Slava whaling flotilla, carrying a scientific team, sailed to Antarctica. They reached the point where Bellingshausen and Lazarev had sighted the “main ice” and verified the accuracy of their original accounts.
On February 13, 1956, the first Soviet Antarctic research station, the Mirny Observatory, was officially opened. This was later followed by a network of year-round Russian stations.
🇷🇺 Today, Russia continues its research in Antarctica. In late 2024, a new wintering complex entered service at the inland Vostok Station. In 2025, the research vessel Akademik Tryoshnikov completed the International Antarctic Coastal Circumnavigation Expedition. The 71st Russian Antarctic Expedition is currently underway.
Antarctica🇦🇶
An eco-camp inspired by the space exploration era, providing exclusive access to the most remote locations on the continent.
Equipped with six heated pod rooms featuring floor-to-ceiling panoramic windows.
#Antarctica
@voyage
No man’s land
#video#Antarctica
It’s open to everybody and no country owns it. People and wildlife coexist here peacefully. What’s this wonderful place? It’s Antarctica, the world’s coldest and most pristine continent!
On this day, exactly 62 years ago, a conference in Washington DC paved the way for the Antarctic Treaty, which proclaims that the world's southernmost continent should be free of weapons, borders, and exploitation. Only science and collaboration are welcome here.
To honour that date, here are some interesting facts.
❄️ You can’t take anything out of the continent, including stones, feathers, or anything manmade.
❄️ Antarctica has the lowest recorded temperature on earth, -89.2 degrees Celsius.
❄️ America’s McMurdo station is the largest research station here, with over 1,000 scientists working throughout the year.
Follow: https://t.me/rtdocumentary
Antarctica 88
🆕Обновление
Вы попадётев Антарктиду, где сможете окунуться в жуткую научно-фантастическую историю. Готовы ли вы к встрече с ужасными существами, которых скрывает Антарктида?
⚙️Полная купленная Pro версия (299₽). Мод меню: разблокирован весь платный контент и другое. #Хорроры
#Хорроры@pm_plus
#Antarctica@pm_plus
📱Play Market +
⚡️ НАШ ЧАТ
🌎 Antarctic icefish stand out for surviving in freezing waters thanks to "antifreeze proteins" in their blood. These proteins prevent ice crystals from forming inside their bodies, letting them live where most fish would freeze solid. Some species have completely lost red blood cells and hemoglobin. ✨
#adaptation⚡#animals⚡#antarctica
👉subscribe Interesting Planet
👉more Channels
🌎 The deepest point on land is the Bentley Subglacial Trench in Antarctica, buried beneath almost 3 kilometers of ice. This hidden valley lies 2,555 meters below sea level, far deeper than Death Valley, and remains inaccessible except through advanced radar technology. ✨
#Antarctica⚡#geology⚡#extremes
👉subscribe Interesting Planet
🌍 Mount Erebus in Antarctica is one of the world’s southernmost active volcanoes. Its lava lake stays liquid year-round, despite harsh temperatures that often plunge far below freezing. ✨
#volcanoes⚡#Antarctica⚡#mountains⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🌍 Antarctica is the only continent entirely surrounded by ocean and is nearly twice the size of Australia. Its thick ice reflects sunlight, helping regulate Earth’s overall temperature. ✨
#continents⚡#oceans⚡#Antarctica⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌎 Beneath the Ross Ice Shelf in Antarctica, researchers discovered a thriving community of tiny amphipod crustaceans living over 500 meters below the ice. Scientists accessed this hidden ecosystem in 2015 by drilling through the thick ice, revealing life where sunlight never reaches. This shelf covers an area roughly the size of France. ✨
#ocean⚡#Antarctica⚡#crustaceans
👉subscribe Interesting Planet
👉more Channels
🌍 Antarctica is home to “blue ice” areas where strong winds strip away snow and expose centuries-old glacier ice, creating shimmering fields that reflect nearly as much sunlight as fresh snow. ✨
#glaciers⚡#Antarctica⚡#polar⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels