Ayuda
Ir al contenido

Dialnet


Revisiting coroutines

  • Autores: Ana Lúcia de Moura, Roberto Ierusalimschy
  • Localización: ACM transactions on programming languages and systems, ISSN 0164-0925, Vol. 31, Nº 2, 2009, 31 págs.
  • Idioma: inglés
  • Texto completo no disponible (Saber más ...)
  • Resumen
    • This article advocates the revival of coroutines as a convenient general control abstraction. After proposing a new classification of coroutines, we introduce the concept of full asymmetric coroutines and provide a precise definition for it through an operational semantics. We then demonstrate that full coroutines have an expressive power equivalent to one-shot continuations and one-shot delimited continuations. We also show that full asymmetric coroutines and one-shot delimited continuations have many similarities, and therefore present comparable benefits. Nevertheless, coroutines are easier implemented and understood, especially in the realm of procedural languages.


Fundación Dialnet

Dialnet Plus

  • Más información sobre Dialnet Plus

Opciones de compartir

Opciones de entorno