Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 comments
default
newest
oldest
loeg
4h ago
Single OS thread only, FWIW (no M:N scheduling). And like any stackful implementation, requires relatively huge stack allocations if you actually call into stdlib, particularly things like getaddrinfo().
j
/
k
navigate · click thread line to collapse
0 points
MisterTea
11h ago
0 comments
Share
A much nicer code base to study is:
https://swtch.com/libtask/
The stack save/restore happens in:
https://swtch.com/libtask/asm.S