coroutine
Appearance
See also: co-routine
English
[edit]Alternative forms
[edit]Etymology
[edit]Etymology tree
From co- + routine, coined by American computer scientist Melvin Conway in 1958.
Pronunciation
[edit]Noun
[edit]coroutine (plural coroutines)
- (programming) 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.
- 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).
Hyponyms
[edit]- 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
[edit]Translations
[edit]Translations
|
See also
[edit]Further reading
[edit]Categories:
- English terms prefixed with co-
- English terms derived from the Proto-Indo-European word *ḱe
- English terms derived from the Proto-Indo-European word *ḱóm
- English terms with audio pronunciation
- English lemmas
- English nouns
- English countable nouns
- en:Programming
- English terms with usage examples
- English terms with quotations