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

Резултати

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

Пребарај: #french

当前筛选 #french清除筛选

🇫🇷The presence of 4 thousand French soldiers in the Gaza war Thomas Bourtes, a member of the #French parliament, announced that more than 4,000 French citizens are participating in the Israeli army in the war against Gaza. La présence de 4 mille soldats français dans la guerre à Gaza Thomas Bourtes, député français, a annoncé que plus de 4 000 citoyens français participent à l'armée israélienne dans la guerre contre Gaza. https://t.me/YediotNewsChat

Hashtags

shakhzoda’s little corner🇫🇷

@shakhzodagovorit · Post #2951 · 22.07.2025 г., 10:56

Еще одна полезная рекомендация для french learners: https://youtube.com/playlist?list=PLycTNLUo2y2EAKEhVfxB9gYo6r0OTMgM0&si=SBoZIA4aZQhFpzMl Очень классный подкаст, легко понять и даже есть транскрипт, если слушать на сайте #french

Hashtags

shakhzoda’s little corner🇫🇷

@shakhzodagovorit · Post #2950 · 22.07.2025 г., 10:53

Я довольно неплохо понимаю текста, которые читаю на французском и после этого фото поняла почему😆 Но я понимаю, что словарный запас надо расширять, поэтому решила, что буду больше читать. С английским было так же, больше всего слов я выучила после фокуса на чтение #french

Hashtags

Daily European Music

@Music_Of_Europe · Post #11 · 19.05.2020 г., 12:26

#Rap#French Manau le curé et les Loups It speaks of a priest guarding a village against a wolf pack, the priest speaks of his regrets and the things he would have liked to do in his life. In the end, as the sun clears the night, the villagers find the priest dead, killed by the wolves as he was protecting the village. https://youtu.be/UEpzez_H2CI

Hashtags

Classical Music

@exploreclassical · Post #167 · 03.01.2021 г., 13:34

今天分享一位钢琴家~最近在看《游艺黑白》,正说到法国的钢琴家,屡次提起Marguerite Long(鄙人才疏学浅之前完全不知道),她可能是法国学派最重要的人之一,和诸如Debussy,Ravel等作曲家的关系都非常好,premier了Ravel的Piano Concerto in G~书里屡次提到法国学派“如珍珠般”的演奏,还有对手指的重视~如果有更了解的朋友欢迎在评论里和大家交流交流! #french#pianist#ravel https://www.youtube.com/watch?v=fUWsBjt8xJI&t=6s

Classical Music

@exploreclassical · Post #199 · 16.02.2021 г., 11:08

今天我们来到120年前的辛丑年,1901年,听一首Debussy的Pour le Piano,被认为是Debussy第一套成熟的钢琴作品,共分为三个乐章,分别是Prelude, Sarabande和Toccata~ 不知道各位朋友有没有这种感觉,昨天分享的mendelssohn到今天的Debussy之间的“距离”要比之前,比如从Bach到C.P.E Bach之间的“距离”大很多~ https://www.youtube.com/watch?v=XVeUfk2O4QM #debussy#impressionism#french#辛丑年的古典音乐 ref: https://en.wikipedia.org/wiki/Pour_le_piano

Addis Standard

@addisstandardeng · Post #21484 · 21.02.2026 г., 10:01

#Op_ed: #Djibouti: Pillar of stability, not a "rentier fortress" in decline In a rebuttal to an op-ed titled "Crumbling of Rentier Fortress: Ethiopia’s Maritime Pivot, Decline of Djibouti’s Monopoly," Naguib Ali Taher, Communications Officer for the Republic of Djibouti, firmly rejects the characterization of his nation as a “crumbling rentier fortress.” He dismisses the portrayal as both “inaccurate and dismissive,” arguing that it misrepresents the geopolitical reality of the Horn of Africa. Taher contends that Djibouti remains “an undeniable bedrock of stability” within a volatile region—a status validated by the presence of major #American, #French, #Chinese, and #Japanese military installations. The author further brushes aside accusations of authoritarianism and regional meddling, labeling them "tabloid-style slander." https://addisstandard.com/?p=55291

12
ПретходнаСтраница 1 од 2Следна