TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

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

Пребарај: #patents

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

@ai_and_law · Post #491 · 24.01.2025 г., 08:04

🌐The Patent Boom: Generative AI on the Rise The World Intellectual Property Organization’s latest Patent Landscape Report on Generative AI sheds light on the explosive growth of GenAI-related innovations. Since 2014, over "54,000 patent families" and "75,000 scientific publications" have emerged. In 2023 alone, more than 25% of all GenAI patents globally were published, highlighting the rapid acceleration of this field. While GenAI patents still account for only "6% of all AI patents globally", their diversity is remarkable. Image and video data dominate the landscape (17,996 inventions), followed by text and speech/music applications. Industries leveraging GenAI span from life sciences to transportation, with new applications in molecule and protein-based data seeing an annual growth of 78% over the past five years. Top contributors include Tencent, IBM, Microsoft, and Samsung, with "China leading innovation globally", filing over 38,000 inventions—six times more than the U.S. As GenAI continues to drive advancements in fields like drug discovery, document management, and autonomous systems, this report serves as a critical snapshot of its transformative potential. #GenerativeAI#Patents#AIInnovation