coroutine
See also: co-routine
English
Alternative forms
Etymology
From co- + routineCategory:English terms prefixed with co-#ROUTINE, coined by Melvin Conway in 1958.
Pronunciation
Noun
coroutine (plural coroutines)Category:English lemmas#COROUTINECategory:English nouns#COROUTINECategory:English countable nouns#COROUTINECategory:English entries with incorrect language header#COROUTINECategory:Pages with entries#COROUTINECategory:Pages with 1 entry#COROUTINE
- (programmingCategory:en:Programming#COROUTINE) 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.Category:English terms with usage examples#COROUTINE
- 2010, Robert W. Sebesta, Concepts of Programming Languages, Addison-Wesley Longman, page 440:
- 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).Category:English terms with quotations#COROUTINE
- 2015, Luciano Ramalho, Fluent Python: Clear, Concise, and Effective Programming, O'Reilly Media, →ISBN, page 479:
- Python coroutines are the product of a series of enhancements to the humble generator functions we've seen so far in the book.Category:English terms with quotations#COROUTINE
Hyponyms
- subroutine (“a coroutine that accepts input once and returns output once”)
- generator (“a coroutine that accepts input once, but yields output multiple times”)
Derived terms
Translations
Translations
See also
Further reading
Category:English countable nouns
Category:English lemmas
Category:English nouns
Category:English terms prefixed with co-
Category:English terms with audio pronunciation
Category:English terms with quotations
Category:English terms with usage examples
Category:Entries with translation boxes
Category:Pages with 1 entry
Category:Pages with entries
Category:Requests for pronunciation in English entries
Category:Terms with Esperanto translations
Category:Terms with Finnish translations
Category:Terms with German translations
Category:Terms with Marathi translations
Category:Terms with Persian translations
Category:Terms with Polish translations
Category:Terms with Spanish translations
Category:Translation table header lacks gloss
Category:en:Programming