EuroPython 2017

AsyncIO support for beginners

Speaker(s) Ludovic Gasc

Example of questions we’ll try to answer, it’s a compilation of questions we’ll already received:

  • Where is the 101 of AsyncIO ?
  • When I can use AsyncIO ?
  • Why to add async/await keywords ? It’s only aliases of @asyncio.coroutine/yield from ?
  • I don’t understand the difference between a task and a coroutine, could you explain me ?
  • When I need to add await before a call function ?
  • How to spot quickly the code can be asynchronous with synchronous code ?
  • How I can use synchronous libraries in my asynchronous code ?
  • How to architecture my source code with AsyncIO ?
  • I don’t understand the internals of AsyncIO with event loop and how yield from works internally. (Spoiler alert: To start to code with Python itself, did you understand before the CPython’s internals ?)
  • Why another asynchronous network framework ? Need already covered by Twisted/Tornado/Gevent/…
  • Why some libraries need to be reimplemented, like aiohttp or aiopg ?
  • Now that Django channels exist, AsyncIO is useless, isn’t it ?
  • What’s the difference between AsyncIO, curio and Trio ?

in on Monday 10 July at 10:30 See schedule
in on Monday 10 July at 14:00 See schedule

Do you have some questions on this talk?

New comment