Go-Flavored Concurrency in C
ibobev
64 points
9 comments
July 13, 2026
Related Discussions
Found 5 related stories in 116.8ms across 5,215 title embeddings via pgvector HNSW
- Go-Flavored Concurrency in C valyala · 11 pts · July 10, 2026 · 100% similar
- Go 1.27 database64128 · 555 pts · August 19, 2026 · 45% similar
- Abstracting Effects with Continuations crowdhailer · 55 pts · July 16, 2026 · 43% similar
- Tumble Forth – from assembly to OS with C compiler (2023) vicek22 · 70 pts · August 21, 2026 · 41% similar
- Tail-call optimization in C is relatively recent (2025) prakashqwerty · 88 pts · August 10, 2026 · 41% similar
Discussion Highlights (4 comments)
BoingBoomTschak
Just a small "ackchyually": Go is basically a modern Limbo which is itself based on Alef and there was an official "Alef for C" thing in Plan 9 in libthread ( https://9p.io/magic/man2html/2/thread ) EDIT: looks like it was ported on UNIX as part of Plan9Port ( https://github.com/9fans/plan9port/blob/master/src/libthread... )
fsmv
But select statements are the most important part, and second to that is the fact that goroutines are low cost user space threads
Chu4eeno
I was expecting proper green threads (it's not like it's impossible in C, there's several C libraries for doing it).
dandersch
There is also libmill/libdill, which implements go-style coroutines using setjmp and is usable directly from C (not just as a transpilation target). https://libmill.org/