Fear and Awaiting in Async - PyOhio - July 30, 2016


#1

Official conference video (showing headshot)


#2

You mention “What Color is Your Function”, a very fun read.

Two questions:

  1. Is it correct that going “all in” with async/await is programming entirely in red functions?
  2. Curio has a single blue function, run() ?

#3

Curio tries to maintain a reasonably strict separation between worlds of async and synchronous code. run() is the only function that’s really safe to use on the synchronous side. However, there are certain objects (e.g., UniversalQueue that are meant to span the two worlds in a safe way).