this post was submitted on 06 Apr 2024
23 points (100.0% liked)

C++

1752 readers
12 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] UQuark@programming.dev 4 points 6 months ago

From the article, it seems that coroutines and "green threads" (e.g. goroutines and lua coroutines) are quite different things. As far as I understood, coroutines are just a way to pause/resume operation while retaining local scope state