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
🪐 NASA’s Psyche mission is sending a high-tech spacecraft to the asteroid 16 Psyche, testing a new electric propulsion system called Hall thrusters. Hall thrusters use electricity and magnetic fields to accelerate charged particles (ions) for thrust, offering a more efficient way to travel long distances—demonstrating key technology that could power spaceships to worlds like Ceres or the moons of Jupiter in the future. ✨
#spaceships⚡#propulsion⚡#asteroids⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 ESA’s Hera mission, launching soon to study asteroid Didymos and its moon Dimorphos, is bringing a new kind of space probe—one equipped with autonomous navigation, letting the spaceship guide itself during its close encounters. This technology, inspired by how insects use simple visual cues to avoid obstacles, could pave the way for future spaceships that explore places like Jupiter’s moon Europa or the rings of Saturn independently, relying less on commands from Earth and more on real-time decisions. ✨
#spaceships⚡#technology⚡#exploration⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 The future of interstellar travel may rely on building spacecraft capable of withstanding long-duration journeys across vast distances like the 4.37 light-years to Alpha Centauri. NASA’s Starlight project is studying how powerful ground-based lasers could push small, ultra-light probes to a significant fraction of the speed of light—over 100 million kilometers per hour—enabling them to reach nearby star systems in just a few decades rather than millennia. ✨
#spaceships⚡#technology⚡#exploration⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 The Japanese spacecraft Hayabusa2 demonstrated a glimpse of future spaceship technology by visiting the asteroid Ryugu, collecting samples, and returning them to Earth in 2020. Its advanced ion propulsion system and autonomous navigation allowed it to land and lift off from the tiny asteroid's weak gravity—a feat that opens the door to more complex robotic missions to objects like Bennu and even farther out in the solar system. ✨
#spaceships⚡#exploration⚡#technology⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
🪐 NASA's Solar System Ambassador program highlights the rapid development of electric propulsion for future spaceships, like the ion engines used on the Dawn spacecraft. Ion engines work by shooting electrically charged atoms, called ions, out of the back of the spacecraft, allowing for extremely efficient travel to distant worlds such as the asteroid Vesta and the dwarf planet Ceres. ✨
#spaceships⚡#technology⚡#exploration⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
🪐 NASA has announced plans for its first nuclear-powered rocket in over 50 years, aiming to test an engine in space by 2027. This new technology, called nuclear thermal propulsion, could dramatically reduce travel time to Mars and distant worlds like Europa by heating hydrogen to generate powerful thrust—making human missions to the outer solar system more achievable than ever before. ✨
#spaceships⚡#technology⚡#Mars⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 Deep space travelers will experience time differently than people on Earth—a mysterious effect called time dilation. If astronauts took a fast journey to the star Sirius (8.6 light-years away) on a spaceship moving near the speed of light, their onboard clocks would run much slower than those back home, so they would age less during the trip—even while years passed on Earth. This real phenomenon comes straight from Einstein’s theory of relativity and shows how speed itself can turn space voyages into journeys through time. ✨
#timedilation⚡#relativity⚡#spaceships⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 Scientists studying the future of interstellar travel are exploring how hydrogen harvested from interstellar space—called "ramjet" propulsion—could one day fuel journeys to stars like Alpha Centauri, located over 4 light-years from Earth. A concept known as the Bussard Ramjet proposes using a huge electromagnetic field to collect hydrogen atoms as a spaceship speeds through space, fusing them for energy in the same way stars do, potentially enabling continuous acceleration across vast cosmic distances. ✨
#spaceships⚡#technology⚡#AlphaCentauri⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 NASA’s upcoming VERITAS mission will send a spaceship equipped with advanced synthetic aperture radar and infrared sensors to Venus, mapping the planet’s surface in detail never achieved before. VERITAS will peer through Venus’s thick clouds to unveil its volcanic terrain and tectonic features, opening a new frontier for robotic exploration in one of the solar system’s most extreme environments. ✨
#spaceships⚡#venus⚡#technology⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 NASA’s upcoming DAVINCI mission is set to test a new kind of spaceship technology as it descends through the thick atmosphere of Venus in the late 2020s. The spacecraft will use a combination of heat shielding and parachutes designed to survive the planet’s crushing pressure and scorching surface temperatures—over 460°C—pushing the limits of materials and engineering needed for future robotic explorers of extreme worlds like Venus and beyond. ✨
#spaceships⚡#technology⚡#Venus⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 Scientists are researching how self-healing materials could revolutionize interstellar travel, allowing future spacecraft bound for distant stars like Proxima Centauri to repair themselves from cosmic dust impacts and radiation damage. These advanced materials are designed to sense and fix tiny cracks or holes automatically, greatly increasing the durability and safety of deep space missions as they travel through the harsh, unpredictable environment between the stars. ✨
#spaceships⚡#technology⚡#innovation⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels