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

Пребарај: #mediacoverage

当前筛选 #mediacoverage清除筛选
Venezuelanalysis

@venanalysis · Post #2186 · 25.11.2025 г., 19:04

🖊🗞OPINION | Corporate Media Parrot Dubious Drug Claims That Justify War on Venezuela Venezuelanalysis’ Ricardo Vaz breaks down how corporate media are reinforcing Washington’s narrative amid the largest US military buildup in the Caribbean in decades. Vaz shows how major outlets have echoed the Trump administration’s framing as the US deploys a major regional force, including the USS Gerald R. Ford, and carries out extrajudicial strikes that UN experts have denounced as violations of international law. He also highlights UNODC and DEA findings showing that Venezuela is a marginal cocaine transit route and that DEA assessments do not link the Venezuelan government to major trafficking operations, evidence largely sidelined in corporate media coverage. Read the full opinion piece here 👉🏾https://shorturl.at/eoszr #MediaCoverage#USMilitaryThreats

Venezuelanalysis

@venanalysis · Post #2198 · 05.12.2025 г., 20:25

🗒️🗣️ INTERVIEW | ‘Venezuela, the Threat of a Good Example’: A Conversation with Geraldina Colotti In a world turned upside down, Italian activist Geraldina Colotti argues that no good deed and no sovereign project goes unpunished. She links the latest US escalation against Venezuela to what she describes as a broader imperial strategy amid a global capitalist crisis, citing sanctions, psychological operations, and an expanded US military footprint across Latin America and the Caribbean. For Colotti, Venezuela remains a target because it disrupts this dynamic. Before the blockade, the country had nearly achieved the UN Millennium Goals, a record she says turned Venezuela into “the threat of a good example” that Washington moved to contain. Read the full interview here 👉🏾https://shorturl.at/4H7sB #MediaCoverage#USImperialism

Venezuelanalysis

@venanalysis · Post #2291 · 03.03.2026 г., 17:23

🖊OPINION | Western Gangster Journalism Runs Cover for Trump’s ‘Donroe Doctrine’ in Venezuela Western corporate media have played an active role in recent years in legitimizing escalated US aggression against Venezuela, including whitewashing economic sanctions that killed tens of thousands. In his latest opinion piece, VA's Ricardo Vaz breaks down this dishonest corporate media coverage that endorsed the US' military buildup and attacks against Venezuela. Read the full opinion piece here: https://venezuelanalysis.com/opinion/western-gangster-journalism-runs-cover-for-trumps-donroe-doctrine-in-venezuela/ #MediaCoverage#USmilitaryattack

Venezuelanalysis

@venanalysis · Post #2253 · 21.01.2026 г., 13:05

🖊OPINION | Labeling Kidnapping a ‘Capture,’ Media Legitimate Violation of International Law From January 3–5, leading US newspapers ran 223 articles mentioning Nicolás Maduro. Most described US actions using “capture” or “arrest,” while references to “abduction” or “kidnapping” appeared rarely and only in quoted statements. On this opinion piece, Greg Shupak exposes the corporate media's work in trying to legitimize the Trump administration's kidnapping of Venezuelan President Nicolás Maduro. Read the full opinion piece here 👉🏽https://shorturl.at/zyBC0 #MediaCoverage#NicolasMaduro#USmilitaryattack