Re:The Downsides of C++ Coroutines
by Conscat on Saturday August 12, 2023 @05:27PM
(#37104389)
Generators, which already exist in the stdlib, is an example where we can see heap elision being useful, but is currently unreliable in C++. There is a paper "Explicit Coroutine Allocation" that will likely solve this in C++26. The Clang IR project will also improve HALO for the future of (Clang) C++ projects.
[ Parent
| on HN ]
There are no comments on this comment yet.