Proceedings of the 2021 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Sof 2021
DOI: 10.1145/3486607.3486751
|View full text |Cite
|
Sign up to set email alerts
|

Kotlin coroutines: design and implementation

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
4
2
1
1

Relationship

0
8

Authors

Journals

citations
Cited by 12 publications
(4 citation statements)
references
References 37 publications
0
4
0
Order By: Relevance
“…The majority of coroutines-related features are implemented directly in Kotlin as part of the standard library. In the compilation phase, each suspending function is transformed into a Continuation-Passing Style function (CPS) involving an additional parameter of type Continuation [13]. Due to the limitations of the JVM, suspending functions are implemented as state machines and Continuation objects are responsible for maintaining the state of local variables during the suspension.…”
Section: Kotlin Coroutines and Channelsmentioning
confidence: 99%
“…The majority of coroutines-related features are implemented directly in Kotlin as part of the standard library. In the compilation phase, each suspending function is transformed into a Continuation-Passing Style function (CPS) involving an additional parameter of type Continuation [13]. Due to the limitations of the JVM, suspending functions are implemented as state machines and Continuation objects are responsible for maintaining the state of local variables during the suspension.…”
Section: Kotlin Coroutines and Channelsmentioning
confidence: 99%
“…They are available in most mainstream languages and recommended for asynchronous operations. Meyers [13] gives a very good explanation of the futures mechanism in C++11/14, while [5] discusses various future related issues and their approach in Kotlin.…”
Section: 1mentioning
confidence: 99%
“…There are 3 important classification criteria for coroutine support in a coroutine implementation [13], [10]:…”
Section: What Is a Coroutinementioning
confidence: 99%
“…They also discuss Exception Handling, but this is more of CPS than coroutines. [10] also present an implementation approach to asynchronous programming and generator based on coroutines.…”
Section: Introductionmentioning
confidence: 99%