Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

coroutine en · NOUN

Pronunciation

Etymology

Etymology tree Proto-Indo-European *ḱe? Proto-Indo-European *ḱóm Proto-Italic *kom Proto-Italic *kom- Latin con- Latin co-lbor. English co- French routineubor. English routine English coroutine From co- + routine, coined by American computer scientist Melvin Conway in 1958.

Meanings

  1. A piece of code that performs a task, and that can be passed new input and return output more than once.
    • Although a powerful tool, coroutines can be hard to understand due to the way data can flow back and forth between sections of the code.
    • Python coroutines are the product of a series of enhancements to the humble generator functions we've seen so far in the book. 2015, Luciano Ramalho, Fluent Python: Clear, Concise, and Effective Programming, O'Reilly Media, →ISBN, page 479:
    • The actual origin of the concept of symmetric unit control is difficult to determine. One of the earliest published applications of coroutines was in the area of syntax analysis (Conway, 1963). 2010, Robert W. Sebesta, Concepts of Programming Languages, Addison-Wesley Longman, page 440:

Forms

SpellingFeaturesLabelsSource
coroutines Number=Plur lexicographic
co-routine alternative lexicographic

Deriveds

goroutine · semicoroutine

Hyponyms

generator · subroutine

Relateds

fiber · delimited continuation

Translations (11)

fi vuoroittaisrutiini (Translations) · fi vuorottelualiohjelma (Translations) · pl współprogram (Translations) · fa همروال (Translations) · fa همسیر (Translations) · de Koroutine (Translations) · fi vuorottaisrutiini (Translations) · mr कोरूटीन (Translations) · eo kunprogramo (Translations) · es corrutina (Translations) · fa همرو (Translations)