News for hackers. Stuff that matters.
Re:The ups of downs of porting 50k lines of C++ to Go by Animats on Saturday March 07, 2015 @02:56PM (#9162887)
"It also allows parallel/async code to be written in the exact same way as concurrent code, simply by setting GOMAXPROCS to 1."

Aargh! If your code has race conditions with GOMAXPROCS > 1, it's broken. "Share by communicating, not by sharing". (Ignore the bad examples in "Ineffective Go". Send the actual data over the channel, not a reference to it. Don't try to use channels as a locking mechanism.)

There are no comments on this comment yet.