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 слични објави

Пребарај: #xizang

当前筛选 #xizang清除筛选
世界新闻 World News 📮

@media_rss · Post #4452012 · 14.05.2026 г., 07:10

Live: The majestic Qomolangma – Witness to Xizang's 75 years of beauty, growth – Ep. 5 Qomolangma, the world's highest peak, stands proudly at an altitude of 8,848.86 meters above sea level. Known as the "Third Pole of the Earth," this awe-inspiring, snow-capped giant rises majestically on the Qinghai-Xizang Plateau, its snow-cloaked slopes and towering summit offering a breathtaking display of nature's grandeur. As we mark the 75th anniversary of Xizang's peaceful liberation, CGTN invites you to witness not only the timeless beauty of Qomolangma – from golden dawns kissing its peak to twilight painting the sky – but also the transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451825 · 12.05.2026 г., 02:50

Live: The majestic Qomolangma – Witness to Xizang's 75 years of beauty, growth – Ep. 4 Qomolangma, the world's highest peak, stands proudly at an altitude of 8,848.86 meters above sea level. Known as the "Third Pole of the Earth," this awe-inspiring, snow-capped giant rises majestically on the Qinghai-Xizang Plateau, its snow-cloaked slopes and towering summit offering a breathtaking display of nature's grandeur. As we mark the 75th anniversary of Xizang's peaceful liberation, CGTN invites you to witness not only the timeless beauty of Qomolangma – from golden dawns kissing its peak to twilight painting the sky – but also the transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451752 · 11.05.2026 г., 03:36

Live: Cloud-kissed Namcha Barwa, 'a long lance piercing the sky' in Tibetan – Ep. 3 Namcha Barwa stands as the majestic eastern anchor of the Himalayas, towering at 7,782 meters above sea level. Known as the "Shy Maiden Peak" for its snow-cloaked triangular peak often veiled in clouds, and meaning "a long lance piercing the sky" in Tibetan, this awe-inspiring giant rises grandly at the junction of the Himalayas, Nyenchen Tanglha and Hengduan Mountains. As we mark the 75th anniversary of China's Xizang Autonomous Region's peaceful liberation, CGTN invites you to discover Namcha Barwa, a peak shrouded in clouds year-round, where "nine out of ten visitors fail to catch a glimpse of its true face." Beyond its natural grandeur, there are also the quiet villages at the foot of the mountain and the people living a happy life, bringing you the gentle transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451688 · 10.05.2026 г., 02:39

Live: The majestic Qomolangma – Witness to Xizang's 75 years of beauty, growth – Ep.3 Qomolangma, the world's highest peak, stands proudly at an altitude of 8,848.86 meters above sea level. Known as the "Third Pole of the Earth," this awe-inspiring, snow-capped giant rises majestically on the Qinghai-Xizang Plateau, its snow-cloaked slopes and towering summit offering a breathtaking display of nature's grandeur. As we mark the 75th anniversary of Xizang's peaceful liberation, CGTN invites you to witness not only the timeless beauty of Qomolangma – from golden dawns kissing its peak to twilight painting the sky – but also the transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451582 · 08.05.2026 г., 05:56

Live: The majestic Qomolangma – Witness to Xizang's 75 years of beauty, growth – Ep. 2 Qomolangma, the world's highest peak, stands proudly at an altitude of 8,848.86 meters above sea level. Known as the "Third Pole of the Earth," this awe-inspiring, snow-capped giant rises majestically on the Qinghai-Xizang Plateau, its snow-cloaked slopes and towering summit offering a breathtaking display of nature's grandeur. As we mark the 75th anniversary of Xizang's peaceful liberation, CGTN invites you to witness not only the timeless beauty of Qomolangma – from golden dawns kissing its peak to twilight painting the sky – but also the transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451512 · 07.05.2026 г., 07:07

Live: Cloud-kissed Namcha Barwa, 'a long lance piercing the sky' in Tibetan Namcha Barwa stands as the majestic eastern anchor of the Himalayas, towering at 7,782 meters above sea level. Known as the "Shy Maiden Peak" for its snow-cloaked triangular peak often veiled in clouds, and meaning "a long lance piercing the sky" in Tibetan, this awe-inspiring giant rises grandly at the junction of the Himalayas, Nyenchen Tanglha and Hengduan Mountains. As we mark the 75th anniversary of China's Xizang Autonomous Region’s peaceful liberation, CGTN invites you to discover Namcha Barwa—a peak shrouded in clouds year-round, where "nine out of ten visitors fail to catch a glimpse of its true face." Beyond its natural grandeur, there are also the quiet villages at the foot of the mountain and the people living a happy life, bringing you the gentle transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

世界新闻 World News 📮

@media_rss · Post #4451422 · 06.05.2026 г., 02:46

Live: The majestic Qomolangma – Witness to Xizang's 75 years of beauty, growth Qomolangma, the world's highest peak, stands proudly at an altitude of 8,848.86 meters above sea level. Known as the "Third Pole of the Earth," this awe-inspiring, snow-capped giant rises majestically on the Qinghai-Xizang Plateau, its snow-cloaked slopes and towering summit offering a breathtaking display of nature's grandeur. As we mark the 75th anniversary of Xizang's peaceful liberation, CGTN invites you to witness not only the timeless beauty of Qomolangma – from golden dawns kissing its peak to twilight painting the sky – but also the transformation of #Xizang over seven and a half decades. via CGTN

Hashtags

Построить новый социалистический Сицзан, который будет сплочённым, процветающим, цивилизованным, гармоничным и красивым. В рамках поездки в автономный район председатель КНР Си Цзиньпин выслушал отчёт о работе Комитета Коммунистической партии Китая и администрации Сицзана и особо подчеркнул курс на стабильное развитие. #Xizang https://russian.cgtn.com/news/2025-08-20/1958163751357292546/index.html

Hashtags

世界新闻 World News 📮

@media_rss · Post #4452241 · 17.05.2026 г., 03:11

Live: Step beyond clouds into the frozen realm of Sapu Sacred Mountain The #SapuSacredMountain, also known as Sapukonglagabo, is a revered peak in Nagqu, Xizang, celebrated for its snow-covered summits and serene alpine scenery. Its name is often interpreted as "the hidden sacred snow mountain," evoking the region's mysterious beauty and spiritual depth. The mountain stands as a symbol of the deep bond between nature, culture and local traditions in #Xizang. To mark the 75th anniversary of the peaceful liberation of Xizang, join CGTN's livestream and explore the timeless charm and cultural heritage of this legendary mountain. via CGTN

Marx21.it

@marx21news · Post #9189 · 12.11.2025 г., 07:46

Genocidio culturale nello Xizang? I dati raccontano un’altra storia. Mentre certi media occidentali parlano di “estinzione” della cultura tibetana, i numeri ufficiali e il Libro bianco sui diritti umani nello Xizang (2025) mostrano tutt’altro: crescita, tutela e rinascita. Lingua tibetana viva e diffusa 17 periodici, 11 quotidiani, quasi 9.000 libri pubblicati in tibetano e un ecosistema digitale in pieno sviluppo. Dalle scuole agli uffici pubblici, il bilinguismo è realtà quotidiana. Patrimonio culturale in espansione 2.760 elementi di patrimonio immateriale e 1.668 eredi riconosciuti. L’opera tibetana, l’epopea di Gesar e il sistema medico Sowa Rigpa tutelati dall’UNESCO. Festival come lo Shoton attirano milioni di spettatori in Cina e online. Accesso universale alla cultura Quasi 5 miliardi di yuan investiti dal 2012, 43 musei, 82 biblioteche e oltre 1.600 piazze pubbliche: la cultura raggiunge ogni villaggio. I dati parlano chiaro: nello Xizang non c’è “genocidio culturale”, ma rinnovamento, tutela e fiducia nel futuro. ➡️ Una menzogna può essere ripetuta mille volte, ma basta una verifica per smascherarla. #Tibet#Xizang#Cultura#DirittiUmani#Cina#FattiNonParole https://www.marx21.it/internazionale/genocidio-culturale-nello-xizang-i-dati-raccontano-unaltra-storia/

Marx21.it

@marx21news · Post #9801 · 25.02.2026 г., 15:23

Losar Tashi Delek! Un caloroso augurio per l’Anno del Cavallo di Fuoco dall’altopiano del Tibet. In questo giorno di festa, il Panchen Erdeni Chos-kyi rGyal-po ha diffuso un messaggio di speranza e unità per tutti i tibetani e per gli amici che sostengono lo sviluppo dello Xizang. Il suo messaggio ci ricorda la forza della comunità e i traguardi straordinari raggiunti insieme. Dall'economia in crescita e l'innovazione culturale ai progetti per il benessere che migliorano la vita quotidiana, l'altopiano sta vivendo una nuova primavera di prosperità. Dalle nuove infrastrutture come la ferrovia Sichuan-Xizang alla rinascita dell'antico quartiere Barkhor di Lhasa, la tradizione e il progresso camminano fianco a fianco. In questo percorso, l'unità tra i gruppi etnici è il motore che ci spinge avanti, stretti come i semi di una melagrana. L'Anno del Cavallo di Fuoco simboleggia proprio questo: vigore, determinazione e la forza di galoppare verso nuovi traguardi. Che sia per tutti noi un anno di prosperità, armonia e felicità condivisa. Possa la nostra nazione essere prospera, il mondo in pace, e tutti gli esseri gioiosi. Tashi delek! #Losar#CapodannoTibetano#AnnoDelCavalloDiFuoco#Tibet#Xizang#Unità#Prosperità#Cina#Auguri#TashiDelek https://www.marx21.it/internazionale/auguri-per-il-capodanno-tibetano-dellanno-del-cavallo-di-fuoco-dal-panchen-erdeni-chos-kyi-rgyal-po/