Nicolas Lara - Python and Async programming

Veröffentlicht am: 28 Juli 2016
auf dem Kanal: EuroPython Conference
1,339
11

Nicolas Lara - Python and Async programming
[EuroPython 2016]
[18 July 2016]
[Bilbao, Euskadi, Spain]
(https://ep2016.europython.eu//confere...)

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.


Auf dieser Seite können Sie das Online-Video Nicolas Lara - Python and Async programming mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer EuroPython Conference 28 Juli 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,339 Mal angesehen und es wurde von 11 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!