Hacker News new | ask | show | jobs
by surajrmal 93 days ago
You should look into how go manages goroutines. It is indeed 2kib stacks by default without the need for guard pages. They use a different mechanism to determine overflows. Other runtimes can do similar things.
1 comments

Aha, yeah. It utilizes the compiler to insert guards at each function prologue, determining the remaining stack size.