A comparison between Go and C++

Abstract

This is a study on the new, Google-based, programming language Go. In the study, selected common areas in programming languages are described and when available how they work in Go. Furthermore, it features a comparison between Go and C++ on these areas as well as in summary.

Go introduces a new approach on concurrent programming that is much easier than in the recognised languages of today and works very smoothly and quickly both when it comes to compiling and running. However, some very popular features such as inheritance and generic data types have been left out and is not currently supported.

We believe that the ideas introduced with Go are very interesting indeed but that it is too early to tell if Go will become a recognised language or stay a small-scale experiment for Google.

Joakim Annebäck
Johan Stjernberg