Re:Proposal: Non-cooperative goroutine preemption
by jashmatthews on Thursday March 29, 2018 @09:52AM
(#16707026)
AFAIK the main benefit to coroutines is getting to manually manage tiny stacks.
For example, in Go, they mark a goroutine's stack as "hasn't executed since the last time we marked", which makes GC with thousands of threads a lot faster.
For example, in Go, they mark a goroutine's stack as "hasn't executed since the last time we marked", which makes GC with thousands of threads a lot faster.