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

It's worth pointing out that there is an upside of shared state, in that goroutines are extremely cheap to create.

There's also a fairly decent race detector[1], and clear documentation on what is and isn't thread safe.

1: http://blog.golang.org/race-detector



The cheapness of goroutines (which is a good thing indeed) has nothing to do with shared state. Erlang processes are even cheaper.




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

Search: