Everything About ___
Live briefing

Everything about Coroutine

Functions whose execution can be paused

Coroutines are computer program components that can be suspended and resumed — generalizing subroutines — for cooperative multitasking. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: CoroutineA 5-minute orientation
  2. Skim a recent paper: Design and Implementation of Boss AI for 2D Action Games Using Finite State Machines and Coroutine ChainingInfluential work since 2022
  3. Pick up a classic book: Results of the theory of vectors of coroutinesThe most-reprinted book on the subject
  4. Read the landmark paper: Coroutine sequencing in a block structured environmentCited 43 times
  5. Go sideways: Async/awaitA closely related topic
  6. Go sideways: Channel (programming)A closely related topic

📖 Definitions

Noun A piece of code that performs a task, and that can be passed new input and return output more than once.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics