News for hackers. Stuff that matters.
Re:Why Go is doomed to succeed by aaggarwal on Saturday June 13, 2015 @03:17PM (#9712231)
This is helpful. Thanks!

I have one more question, how does Go ensure easy concurrency?

Re:Why Go is doomed to succeed by masklinn on Sunday June 14, 2015 @05:19AM (#9714283)
It provides built-in lightweight thread abstraction ("goroutines", and "channels" for communication between these).

Beware though, Go uses shared-memory concurrency (as opposed to, say, Erlang) so if you pass a pointer to a mutable structure through a channel the structure won't be copied or moved, both sides will be able to alter it. It does provide a data race detector but it's just that, you have to hit the corruption path while running the detector for it to have a chance, I'm not sure it's 100% even if you do, and I understand it has a non-trivial runtime cost and limitations wrt number of routines it can track.

Re:Why Go is doomed to succeed by aaggarwal on Sunday June 14, 2015 @05:59AM (#9714369)
Thanks for informing, that is an important point to keep in mind, ignoring this would lead to potential bugs and very difficult debugging as you said.
Re:Why Go is doomed to succeed by Blackthorn on Saturday June 13, 2015 @09:48PM (#9713529)
Assuming that's an honest question: it has actual lightweight threads, so you don't need to muck around with either async garbage or worrying that you're using too many threads because you aren't mucking around with async garbage.
Re:Why Go is doomed to succeed by aaggarwal on Sunday June 14, 2015 @03:10AM (#9714021)
Yeah,I was reading about the http module and goroutines. It looks nice. Though I still have to try it.