TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

Пронајдени 11 слични објави

Пребарај: #civilization

当前筛选 #civilization清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #587 · 19.08.2025 г., 03:22

🌎 The Caral civilization in Peru built the oldest known city in the Americas around 2600 BCE. Its pyramid complexes predate the Inca by millennia and show early urban planning, trade, and communal gatherings long before written history in the region. ✨ #history⚡#archaeology⚡#civilization 👉subscribe Interesting Planet

Interesting Planet 🌍

@interesting_planet_facts · Post #874 · 07.10.2025 г., 20:11

🌎 The mysterious Harappan city of Dholavira, in India’s Gujarat region, features an intricate water management system with reservoirs, underground drains, and stone-lined wells. Archaeologists date the city from 3000 BCE to 1500 BCE and note its unique use of stepwells and multi-level reservoirs for collecting and distributing scarce water in the desert. ✨ #archaeology⚡#civilization⚡#mystery 👉subscribe Interesting Planet 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #410 · 24.10.2025 г., 12:31

🌍 The boundaries of ancient Mesopotamia shifted as rivers changed course, causing cities to move or vanish. River geography shaped the rise and fall of some of history’s earliest civilizations. ✨ #historicalgeography⚡#rivers⚡#civilization⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1121 · 11.12.2025 г., 22:11

🌎 Massive underground chambers beneath the ancient city of Derinkuyu in Turkey could shelter up to 20,000 people. This multi-level complex includes ventilation shafts, stables, kitchens, wells, and a school. Archaeologists believe it was carved from soft volcanic rock over 2,000 years ago to protect residents from invasions. ✨ #archaeology⚡#civilization⚡#Turkey 👉subscribe Interesting Planet 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #678 · 31.03.2026 г., 20:31

🌍 The lost city of Cahokia once stood near present-day St. Louis, with earthen mounds and a population rivaling European cities around 1100 CE—making it North America’s largest urban center before Columbus. ✨ #historicalgeography⚡#archaeology⚡#civilization⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Environment & Climate Change

@Enviro_Climate · Post #372 · 18.09.2021 г., 13:21

Sea Secrets - Arash Sharifi Arash Sharifi, a Ph.D. candidate of marine geology and geophysics at the UM Rosenstiel School, takes us into the compelling world of #paleoclimate research. By using climate, #historical, and #archeological records, Sharifi shows how climate change has been affecting the world since the beginning of human #civilization. @Enviro_Climate https://youtu.be/ovy-57jx85Q?t=3

Yukiokhruner

@yukiokhruner · Post #52 · 01.08.2022 г., 10:04

L'esigenza spontanea di uno spazio sacro sembra essere venuta meno nell'ultima forma della nostra civiltà #vaporonda#vaporwave#vapourwave#vaporart#seapunk#webpunk#glitch#glitchart#glitchartistscollective#chillwave#aesthetic#vaporwaveaesthetic#vaporwaveaesthetics#malinconia#melancholy#civiltà#civilization#egemonia#hegemony#sacro#sacred#suora#nun