Comment on An open question (rant) about Node.jsparentComments−irahul12yIdiomatic go concurrency uses channels for synchronization and passing data around. You shouldn't be writing to shared data from multiple co-routines.−bascule12yIt's easy to say that, but when Go added a race detector, they immediately found 40 data races in the standard library−voidlogic12yWhich is impressive considering the size and number of contributors...−bascule12yThose are just the data races they found, though. There are quite likely many more.
Comments
Idiomatic go concurrency uses channels for synchronization and passing data around. You shouldn't be writing to shared data from multiple co-routines.
It's easy to say that, but when Go added a race detector, they immediately found 40 data races in the standard library
Which is impressive considering the size and number of contributors...
Those are just the data races they found, though. There are quite likely many more.