Re:Go-style concurrency in C
by jkarneges on Wednesday November 18, 2015 @04:08AM
(#10586728)
Ah, I forgot libmill uses setjmp/longjmp. I'm not sure how that really works for coroutines though since you still need to deal with stack allocations. So replace "non-portable assembly" with "possibly non-portable C hacks". I haven't gotten around to digging deep in the code yet though. If libmill's approach is future-proof then that'd be pretty awesome.
[ Parent
| on HN ]