|
|
|
|
|
by hueho
1952 days ago
|
|
Lightweight threads like in Go or Erlang are not happening anytime soon as a C++ standard because they require much more complex runtimes to be decently implemented (whereas traditional threads can just delegate straight to whatever OS threading is available). There are coroutines though, that can fill some of the same needs covered by lightweight threads:
https://en.cppreference.com/w/cpp/language/coroutines |
|