cthrowago
Re:Go-style concurrency in C
on Wednesday November 18, 2015 @01:41AM (#10586351)
Yes.
Re:Go-style concurrency in C
on Wednesday November 18, 2015 @01:41AM (#10586349)
It's single-threaded, so coroutine locks are trivial and other locks "can't block" (against coroutines, anyway).
Re:Go-style concurrency in C
on Wednesday November 18, 2015 @01:39AM (#10586341)
Sort of. They enable non-blocking network IO. Disk IO in unix always blocks (aio excepted). Disk IO in Windows can by async, but not via select or poll.
Re:Go-style concurrency in C
on Wednesday November 18, 2015 @01:38AM (#10586334)
I can imagine it being nice if you're tied to existing C code. Or if you want C-style memory management.