Nicolas Lara - Python and Async programming
Nicolas Lara - Python and Async programming
[EuroPython 2016]
[18 July 2016]
[Bilbao, Euskadi, Spain]
(https://ep2016.europython.eu//conference/talks/python-and-async-programming)
How does the experienced python programmer fair when faced with
python's "new" way of doing async programming for the first time?
This talk details the different ways python provides for attacking the
problem of asynchronous programming and focuses on the best practices
for the future (as of python 3.4 and 3.5)
-----
How does the experienced python programmer fair when faced with
python's "new" way of doing async programing in for the first time?
Do we all know how and when to use Futures, yield from, asyncio,
coroutines, the async and await keywords, eventloops, and others?
A lot has changed in recent versions of Python when it comes to async
programming, concurrency, and parallelism. We still have very
different ways of approaching the problem in each version, but they
are finally (as of python 3.4/3.5) converging to a standard.
This talk explores, from the perspective of an experienced python
programmer with little to no experience in async programming, what the
"one obvious way" to do async programming in Python is supposed to be.
It does so but analysing examples of different categories of async
problems we may want to solve and what the correct way to solve them
with the latest versions of Python would be (along with the trade offs
of different approaches).
The examples include generic CPU-bound problems, IO-bound problems,
and "both-bound" problems; along with common tasks as building a
simple server, scraping, deferring a web response, and traversing
graphs.
When useful, I compare the solutions with the approach we would take
in languages that have been design for- and are known to be good at
async programming like Javascript and Go.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Nicolas Lara - Python and Async programming», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.