Posted on April 7, 2012, 11:08 am, by xp, under
Programming.
Go has provided very nice primitives and built-in features which made multicore and multi-processor programming easy. One of the nice things about the Go features is to encourage an approach in which shared values are passed around on channels to different goroutines, so that we can avoid the subtle difficulty of implementing correct access to [...]
Posted on April 5, 2012, 5:00 pm, by xp, under
Programming.
In the last post, I have investigated the performance of Erlang and Go to create a large number of processes, or goroutines in the case of Go. The test program would spawn a large number of processes, and then send a termination message to all of them to terminate. The purpose is to see how [...]
Posted on April 4, 2012, 9:06 pm, by xp, under
Programming.
Erlang has been known for its prowess in concurrent and distributed programming, by providing the three primitives spawn, send, and receive, which make concurrent programming easy. Although Erlang may not be the first to provide such a built-in language feature, its selling point was that you can create hundreds or thousands of cooperating Erlang processes [...]
Posted on March 30, 2012, 5:31 pm, by xp, under
Programming.
The Google’s new programming language, Go, after a few years of development, has finally reached the v1.0 milestone recently. Like a lot of programmers, we just want to try it out. Although I have looked at it when it was first announced a few years ago, but I haven’t bothered since then. Today, I just [...]