Re:Comparison of Rust async and Linux thread context switch ...
by scottlamb on Friday February 12, 2021 @12:38AM
(#26111037)
I'd think mostly similar. Goroutines are "stackful" coroutines, though, so their memory use will be higher. They have an interesting stack copying model, so I'm not sure if they require as many pages as POSIX threads do. (Having a "denser" memory space and no guard page requirement would mean you could use huge pages and thus have much less TLB pressure.)
[ Parent
| on HN ]
There are no comments on this comment yet.