@profile_pictures_tm · Post #19133 · 27.01.2025 г., 16:52
#Universe💫 ✨✨
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #396 · 9 окт.
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
Hashtags
Пребарај: #universe
@profile_pictures_tm · Post #19133 · 27.01.2025 г., 16:52
#Universe💫 ✨✨
Hashtags
@astronomic · Post #3251 · 24.08.2023 г., 17:27
#Universe @Astronomic
Hashtags
@astronomic · Post #3127 · 19.03.2023 г., 06:28
#UNIVERSE This is so beautiful 😍 @Astronomic
Hashtags
@interesting_planet_facts · Post #1382 · 23.04.2026 г., 22:11
🌎 The coldest known place in the universe is the Boomerang Nebula, located about 5,000 light-years from Earth. Its temperature is just 1 kelvin, or –272°C, which is even colder than the background temperature of space. This nebula formed from rapidly expanding gas blown out by a dying star. ✨ #space⚡#universe⚡#astronomy 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #680 · 03.09.2025 г., 13:22
🌎 The Boötes Void is an enormous empty region of space, spanning about 330 million light-years across. This cosmic void contains far fewer galaxies than expected, making it one of the largest known gaps in the observable universe. ✨ #space⚡#astronomy⚡#universe 👉subscribe Interesting Planet
Hashtags
@astronomic · Post #3211 · 27.06.2023 г., 06:48
#Space #Universe @astronomic
@testflightynoti · Post #38026 · 10.05.2026 г., 08:28
#Asteroid#Music#Universe Join the Asteroid - Music Universe beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/MvMzHPZV Shared by Dimitri
@interesting_planet_facts · Post #626 · 25.08.2025 г., 13:22
🌎 At the edge of the observable universe, mysterious “dark flow” tugs galaxy clusters in the same direction, hinting at unseen forces or realms beyond our cosmic horizon. This puzzling movement can’t be explained by known gravity alone, sparking debate about what lies outside the visible universe. ✨ #space⚡#universe⚡#cosmology 👉subscribe Interesting Planet
Hashtags
@interesting_planet_facts · Post #1118 · 10.12.2025 г., 22:11
🌎 Scientists researching the mysteries of parallel worlds often reference "brane theory," which suggests our universe could be a 3D surface, or 'brane,' floating in higher-dimensional space. In this model, multiple branes—each a universe with its own laws—could exist, and gravity may leak between them, which physicists are testing with experiments at facilities like CERN. ✨ #physics⚡#universe⚡#dimensions 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #780 · 19.09.2025 г., 13:22
🌎 Hidden in the vast cosmic darkness, rogue planets drift alone through space without orbiting any star. These “orphan worlds” form when gravitational forces eject young planets from their home systems. Some estimates suggest our galaxy may contain more rogue planets than stars. ✨ #universe⚡#astronomy⚡#exoplanets 👉subscribe Interesting Planet
Hashtags
@interesting_planet_facts · Post #1236 · 19.01.2026 г., 12:11
🌎 Mysterious dark matter makes up about 27% of the universe, but it does not emit or absorb light, making it invisible. Scientists detect dark matter only through its gravitational effects on galaxies and galaxy clusters. The leading candidates for dark matter particles are called WIMPs—Weakly Interacting Massive Particles. ✨ #space⚡#universe⚡#astrophysics 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #654 · 30.08.2025 г., 00:22
🌎 An ancient mystery lingers at the center of our galaxy—a supermassive black hole called Sagittarius A*. Its powerful gravity bends space and time, hiding beyond a swirling cloud of stars and gas. This invisible giant shapes the Milky Way, anchoring everything around it with immense, unseen force. ✨ #space⚡#blackhole⚡#universe 👉subscribe Interesting Planet
Hashtags