Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: