Posts Tagged ‘Go’

Beware of locking in Go concurrent 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 [...]

Speed of concurrency in Rust

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 [...]

Concurrency performance comparison between Erlang and Go

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 [...]

Makefile for multiple packages in Go project

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 [...]


Switch to our mobile site