stackless coroutines for gamedev in ~200 lines of C++

5 months ago by CodyIT to c/cpp

C++20 coroutines have lovely syntax. They are also a terrible fit for game development. In this article, the author will present sfex::Coroutine: a ~200-line stackless macro-based coroutine library built around a variant of the classic switch + LINE trick.

cpp
cpp

@programming.dev

login for more options
2381
416
44

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

Rules

  • Respect instance rules.
  • Don't be a jerk.
  • Please keep all posts related to C++.

go to feed...