Better HN
topnewbestaskshowjobs
Log inSign up

cthrowago

2 karma · joined Nov 18, 2015 (11y ago) · 4 submissions

Submissions

comment 11y ago · link · parent

Yes.

comment 11y ago · link · parent

It's single-threaded, so coroutine locks are trivial and other locks "can't block" (against coroutines, anyway).

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

I can imagine it being nice if you're tied to existing C code. Or if you want C-style memory management.