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

Резултати

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

Пребарај: #truthmatters

当前筛选 #truthmatters清除筛选

@RusEmbMalta: 🇷🇺 3 ноября 2025 г. опубликован комментарий Посла России на Мальте А.Г.Лопухова на редакционную статью Times of Malta от 19 октября 2025 г. 📰 В своём комментарии А.Г.Лопухов подчеркнул необходимость опираться на проверенные факты при оценке событий на Украине и предостерёг от распространения дезинформации. Основные тезисы: 🔹 так называемый «украинский кризис» начался не в феврале 2022 г., а с госпереворота в Киеве в 2014 г.; 🔹 киевские власти годами проводили политику дискриминации и насилия в отношении русскоязычного населения; 🔹 трагедия в Одессе в мае 2014 г. остаётся нераскрытым преступлением; 🔹 поставки оружия Киеву и финансовая поддержка со стороны Запада лишь усугубляют кризис; 🔹 Россия на протяжении лет последовательно поднимала вопрос о массовых нарушениях прав человека, несмотря на нежелание Запада слышать правду; 🔹 миллионы людей во всём мире поверили России, потому что правда, как бы её ни пытались скрыть, всегда пробивается сквозь ложь. 💬«Есть факты, которые невозможно опровергнуть. И именно они заставили людей по всему миру увидеть происходящее своими глазами и сделать собственные выводы.» 🔗 Полный текст комментария на сайте Times of Malta. #КризисНаУкраине#TruthMatters

@RusEmbMalta: On November 3, 2025, the Times of Malta published a commentary by the Russian Ambassador to Malta, Andrey Lopukhov, responding to the editorial of October 19, 2025 📰 In his commentary, Ambassador Lopukhov emphasized the importance of relying on verified facts when assessing the situation in Ukraine and warned against the spread of misinformation. Key points: 🔹 the so-called “Ukrainian crisis” began not in February 2022, but with the coup d’état in Kiev in 2014; 🔹 for years, the Kiev authorities pursued policies of discrimination and violence against Russian-speaking citizens; 🔹 the Odessa tragedy of May 2014 remains an uninvestigated crime; 🔹 Western arms supplies and financial support to Kiev only deepen the crisis; 🔹 Russia has consistently raised the issue of human-rights violations by the Kiev regime, despite the West’s unwillingness to listen; 🔹 millions of people around the world believed Russia – because truth, however suppressed, always breaks through lies and propaganda. 💬“There are facts that cannot be denied. And it is those very facts that made people across the world see what was happening with their own eyes and draw their own conclusions.” 🔗 Read the full text of the commentary onTimes of Malta. #UkrainianCrisis#TruthOnUkraine#TruthMatters

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3487 · 19.10.2024 г., 03:44

In times like these, when reporting news has become a tool in the hands of empire, brainwashing people into accepting genocide under the false pretext of a "right to self-defense" for occupying powers against native populations, we must remember the truth-tellers. As occupation forces target journalists in #Gaza with sniper fire and bomb journalists in Lebanon, we are reminded of the courage of those who dared to expose the lies. Today, we remember @PressTV 's Serena Shim, a Lebanese-American journalist, who passed on October 19, 2014, in least to say mysterious circumstances. Serena had uncovered and reported a truth that many wanted buried: the smuggling of Al-Qaeda terrorists from Turkey to Syria, hidden on WHO trucks, to bring devastation to a nation. Her work highlighted how the powerful manipulate narratives and use humanitarian fronts to cloak their actions. Serena's bravery stands in stark contrast to the silence of many today. At a time when the powerful seek to erase voices and twist facts, let us honor her memory by sharing the stories that the empire wants to suppress. Let us remember that truth is the first casualty of war—and that we must keep it alive, for Serena, for the journalists under fire, and for all who suffer in silence. #RememberSerenaShim#TruthMatters#StopGenocideNow #SerenaShim

HHS Rapid Response

@HHSResponse · Post #4 · 29.10.2025 г., 20:59

🔹🔷Welcome to the Official HHS Rapid Response Channel 🔷🔹 This is the official @HHSgovv Rapid Response account, working every day to support President Trump’s and Secretary Kennedy’s mission to Make America Healthy Again (MAHA). 🇺🇸 Here, we deliver real facts, rapid updates, and clear information to cut through misinformation and ensure the American people get the truth they deserve. Health is strength. Truth is power. Together, we will Make America Healthy Again.💪 Stay tuned for verified updates, fact checks, and official responses from the U.S. Department of Health and Human Services. #RapidResponse | #MAHA | #HHS | #PublicHealth | #TruthMatters 📱https://t.me/HHSResponse✅️