[–] BoingBoomTschak 2mo ago ↗ 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...) [–] pjmlp 2mo ago ↗ And some Oberon-2 in the mix as well, method syntax and unsafe package.
[–] fsmv 2mo ago ↗ But select statements are the most important part, and second to that is the fact that goroutines are low cost user space threads
[–] Chu4eeno 2mo ago ↗ I was expecting proper green threads (it's not like it's impossible in C, there's several C libraries for doing it).
[–] dandersch 2mo ago ↗ 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/
5 comments
[ 2.8 ms ] story [ 22.7 ms ] threadEDIT: looks like it was ported on UNIX as part of Plan9Port (https://github.com/9fans/plan9port/blob/master/src/libthread...)
https://libmill.org/