naasking/async.h
View on GitHub ↗ ★ 789 C
Stackless Async Subroutines for C
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2019-09-21 · latest 2019-12-13
20082026
-
…and then what will that be? The lack of URI parsing is not a big deal for me, but it'd be nice. [0] https://github.com/naasking/async.h
comment by cryptonector · 2019-12-13 · in Httpserver.h: Single header library for writing non-blocking HTTP servers in C -
…do need what Rust calls an "executor", which is a library of I/O functions and an event loop. [0] https://github.com/naasking/async.h https://higherlogics.blogspot.com/2019/09/asynch-asynchronou...
comment by cryptonector · 2019-12-03 · in A More Natural Stackless Coroutine in C That Maintains Local Variables -
Yes, and here is an implementation: https://github.com/naasking/async.h Duff’s device along with the __LINE__ trick enables the creation of automatic DFAs useful to generate coroutines, protothreads and async/await alike.
comment by Squonk42 · 2019-09-23 · in ProtoThreads: Lightweight, Stackless Threads in C -
Actual header: https://github.com/naasking/async.h/blob/master/async/async....
comment by saagarjha · 2019-09-21 · in Async.h – asynchronous, stackless subroutines in C