Go-Flavored Concurrency in C
ibobev
64 points
9 comments
July 13, 2026
Related Discussions
Found 5 related stories in 722.3ms across 14,015 title embeddings via pgvector HNSW
- Go-Flavored Concurrency in C valyala · 11 pts · July 10, 2026 · 100% similar
- Just Use Go xngbuilds · 191 pts · May 08, 2026 · 52% similar
- FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11 sourdecor · 53 pts · July 02, 2026 · 50% similar
- Solod: Go can be a better C ibobev · 23 pts · March 22, 2026 · 48% similar
- Gossamer: a Rust-flavoured language with real goroutines and pause-free memory mwheeler · 77 pts · June 26, 2026 · 47% 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/