different between subroutine vs coroutine

subroutine

English

Etymology

sub- +? routine

Noun

subroutine (plural subroutines)

  1. (computer science) A section of code, called by the main body of a program, that implements a task.

Translations


Italian

Etymology

Borrowed from English.

Noun

subroutine f (invariable)

  1. (computing) subroutine

subroutine From the web:

  • subroutine meaning
  • what subroutine in fortran
  • what subroutine call
  • what subroutine return
  • subroutine what does it mean
  • what is subroutine nesting
  • what is subroutine in microprocessor
  • what is subroutine in computer architecture


coroutine

English

Alternative forms

  • co-routine

Etymology

co- +? routine

Noun

coroutine (plural coroutines)

  1. (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.

Hyponyms

  • subroutine (A coroutine that accepts input once and returns output once)
  • generator (A coroutine that accepts input once, but yields output multiple times)

Translations

See also

  • coroutine on Wikipedia.Wikipedia

coroutine From the web:

  • coroutine what is async
  • what is coroutines in kotlin
  • what is coroutine in python
  • what is coroutine in unity
  • coroutinescope
  • what is coroutines in android
  • what is coroutine context
  • coroutines in ppl
+1
Share
Pin
Like
Send
Share

you may also like