jaroslov/coro
View on GitHub ↗ ★ 17 C++
C++1y coroutine library.
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2015-04-19 · latest 2019-08-25
20082026
-
I did! And the ergonomics are dreadful ! https://github.com/jaroslov/coro
comment by thechao · 2019-08-25 · in Banned C standard library functions in Git source code -
Here's one I wrote with stacks: https://github.com/jaroslov/coro
comment by thechao · 2016-04-28 · in C++ Stackless Coroutine -
…than setjmp. It's morally equivalent to 'sigsetjmp', but more portable, if less standard. [1] https://github.com/jaroslov/coro/blob/master/coro.hpp
comment by thechao · 2015-11-18 · in Go-style concurrency in C -
Here's my implementation in c++, using alloca(): https://github.com/jaroslov/coro . Without debugger support, coroutines are pretty difficult to work with.
comment by thechao · 2015-04-19 · in Coroutines in C with Arbitrary Arguments