Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018

Автор: PyCon 2018

Загружено: 2018-05-13

Просмотров: 29468

Описание:

Speaker: Nathaniel J. Smith

Concurrent programs are super useful: think of web apps juggling lots of simultaneous downloads and websocket connections, chat bots tracking multiple concurrent conversations, or web spiders fetching pages in parallel. But writing concurrent programs is complicated, intimidating to newcomers, and often challenging even for experts.

Does it have to be? Python is famous for being simple and straightforward; can Python make concurrent programming simple and straightforward too? I think so. By carefully analyzing usability pitfalls in other libraries, and taking advantage of new Python 3 features, I've come up with a new set of primitives that make it dramatically easier to write correct concurrent programs, and implemented them in a new library called [Trio](https://trio.readthedocs.io). In this talk, I'll describe these primitives, and demonstrate how to use them to implement a basic algorithm for speeding up TCP connections. Compared to the best previous Python implementation, our version turns out to be easier to understand, more correct, and dramatically shorter.

This talk assumes basic familiarity with Python, but does not require any prior experience with concurrency, async/await, or networking.


Slides can be found at: https://speakerdeck.com/pycon2018 and https://github.com/PyCon/2018-slides

Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Lisa Roach - Demystifying the Patch Function   - PyCon 2018

Lisa Roach - Demystifying the Patch Function - PyCon 2018

Nathaniel J Smith - Python Concurrency for Mere Mortals - Pyninsula #10

Nathaniel J Smith - Python Concurrency for Mere Mortals - Pyninsula #10

Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

Hillel Wayne - Beyond Unit Tests: Taking Your Testing to the Next Level - PyCon 2018

What is Concurrency? And how can Structured Concurrency make it easier?

What is Concurrency? And how can Structured Concurrency make it easier?

Async Awaits: освоение асинхронного Python в FastAPI [PyCon DE & PyData Berlin 2024]

Async Awaits: освоение асинхронного Python в FastAPI [PyCon DE & PyData Berlin 2024]

БАЗА по КОМПИЛЯЦИИ C++ на примере ClickHouse

БАЗА по КОМПИЛЯЦИИ C++ на примере ClickHouse

Project Loom - Structured Concurrency

Project Loom - Structured Concurrency

🔥uv — швейцарский нож Python-разработчика

🔥uv — швейцарский нож Python-разработчика

Lynn Root - Advanced asyncio: Solving Real-world Production Problems - PyCon 2019

Lynn Root - Advanced asyncio: Solving Real-world Production Problems - PyCon 2019

Clean Architectures in Python - presented by Leonardo Giordani

Clean Architectures in Python - presented by Leonardo Giordani

Nina Zakharenko - Elegant Solutions For Everyday Python Problems - PyCon 2018

Nina Zakharenko - Elegant Solutions For Everyday Python Problems - PyCon 2018

David Beazley - Python Concurrency From the Ground Up: LIVE! - PyCon 2015

David Beazley - Python Concurrency From the Ground Up: LIVE! - PyCon 2015

David Beazley - Reinventing the Parser Generator  - PyCon 2018

David Beazley - Reinventing the Parser Generator - PyCon 2018

Lynn Root - Advanced asyncio: Solving Real-world Production Problems

Lynn Root - Advanced asyncio: Solving Real-world Production Problems

Raymond Hettinger - Dataclasses:  The code generator to end all code generators - PyCon 2018

Raymond Hettinger - Dataclasses: The code generator to end all code generators - PyCon 2018

James Bennett - A Bit about Bytes: Understanding Python Bytecode - PyCon 2018

James Bennett - A Bit about Bytes: Understanding Python Bytecode - PyCon 2018

Carl Meyer - Type-checked Python in the real world - PyCon 2018

Carl Meyer - Type-checked Python in the real world - PyCon 2018

Build Your Own Async

Build Your Own Async

Ned Batchelder - Big-O: How Code Slows as Data Grows - PyCon 2018

Ned Batchelder - Big-O: How Code Slows as Data Grows - PyCon 2018

Carol Willing - Practical Sphinx - PyCon 2018

Carol Willing - Practical Sphinx - PyCon 2018

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]