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

Резултати

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

Пребарај: #techregulation

当前筛选 #techregulation清除筛选
AI & Law

@ai_and_law · Post #267 · 21.03.2024 г., 08:04

Civil Society Urges Action on EU AI Act Implementation In response to the recent vote on the AI Act, various civil society organizations, including Foxglove, ARTICLE 19, the Mozilla Foundation, and the Irish Council for Civil Liberties, have voiced their perspectives on the regulation. Emphasizing the urgency of the matter, they highlight the risks posed by the dominance of major tech corporations in the AI sector. These organizations underscore the importance of swift action to address unchecked corporate power, particularly in the realm of artificial intelligence. They advocate for robust enforcement of competition rules to safeguard democracy and public interests against potential threats arising from concentrated control within the tech industry. #AIAct#CivilSociety#TechRegulation

AI & Law

@ai_and_law · Post #742 · 14.01.2026 г., 08:04

🌐📖Responsible AI Governance in 2025: From Principles to Practice The Responsible AI Governance Network (RAGN) published "The 2025 Responsible AI Governance Landscape: From Principles to Practice" in December 2025. The report maps how AI governance evolved during 2025, highlighting five major shifts: the EU AI Act moving into enforcement, the coexistence of three non-converging governance models, the rise of board-level accountability, tensions between frontier and open-source AI, and courts increasingly shaping standards through litigation. The report includes sector-specific snapshots for healthcare, HR, finance, and public procurement, and examines the operational cost of AI governance, including staffing, tooling, and audits. It also provides a 30–60–90 day implementation roadmap with a maturity self-assessment designed for organizations deploying or overseeing AI systems. The publication documents concrete governance practices observed in 2025, such as cross-functional governance teams, continuously updated documentation, CI/CD-integrated controls, independent audits for high-risk systems, and ongoing monitoring instead of one-off assessments. It also identifies common implementation failures, including checkbox compliance, fragmented tooling, accumulated documentation debt, and governance processes that exist only formally. #AIandLaw#ResponsibleAI#AIGovernance#EUAIAct#AICompliance#TechRegulation

AI & Law

@ai_and_law · Post #452 · 27.11.2024 г., 08:04

Protecting Freedom of Expression within the AI Act Framework In a recent op-ed for Tech Policy Press, Jordi Calvet-Bademunt, Senior Research Fellow at The Future of Free Speech, delves into the AI Act’s potential impact on freedom of expression. With new requirements for assessing and mitigating systemic risks tied to high-impact AI, the Act aligns with the Digital Services Act (DSA) approach but introduces significant challenges. Providers of general-purpose AI now face complex responsibilities in balancing various fundamental rights. A misstep in judgment may lead to excessive content removal, as companies seek to avoid potential penalties—a trend that could inadvertently curb free speech, particularly for contentious viewpoints. As the European Commission prepares to enforce the Act, concerns are rising about the role of political influence in managing what constitutes "public security." Past examples, like then-Commissioner Breton’s statements advocating platform shutdowns during unrest, underline the risks associated with broad regulatory powers. The upcoming General-Purpose AI Code of Practice, set to accompany the Act, presents a vital opportunity for establishing protections that better secure freedom of expression. #AIGovernance#FreeSpeech#TechRegulation#AIAct#DigitalRights