News for hackers. Stuff that matters.
Re:Golang’s most important feature is invisible by zik on Sunday January 23, 2022 @04:14AM (#30044760)
goroutines aren't really green threads, they're more lightweight than conventional green thread implementations due to having a segmented stack. Millions of goroutines can run comfortably on a standard machine. This isn't possible with any green thread implementation I've seen.

https://blog.cloudflare.com/how-stacks-are-handled-in-go/

Re:Golang’s most important feature is invisible by lucian1900 on Sunday January 23, 2022 @05:50AM (#30045222)
You can run that many Erlang processes or more.

Millions is typical of green thread implementations.

Re:Golang’s most important feature is invisible by nasretdinov on Sunday January 23, 2022 @07:47AM (#30045766)
By the way, while Go did initially have segmented stacjs, they've long abandoned it in favour of a contiguous one.
Re:Golang’s most important feature is invisible by kortilla on Sunday January 23, 2022 @05:15AM (#30045033)
They are cheaper but conceptually aren’t any different.