Go-Flavored Concurrency in C

ibobev 64 points 9 comments July 13, 2026
antonz.org · View on Hacker News

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/

Semantic search powered by Rivestack pgvector
14,015 stories · 131,331 chunks indexed