Skip to content
Related Articles

Related Articles

Improve Article

Difference between C++ and Go

  • Last Updated : 27 Jul, 2020

1. C++ :
C++ was developed by Bjarne Stroustrup at Bell Labs since 1979 as an extension of the C languageC++ is a general purpose programming language and widely used now a days for competitive programming. It has imperative, object-oriented and generic programming features. C++ is a widely popular language among coders for its efficiency, high speed, and dynamic memory utilization. It runs on various platform like Windows, Linux, Unix, Mac etc.

2. Go :
Go was designed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson to improve programming productivity in an era of multicore, networked machines and large codebases. The designers wanted to address criticism of other languages in use at Google, It is an open source programming language that makes it easy to build simple, reliable, and efficient software. It is often referred to as “Golang” because of its domain name,, but the proper name is Go.

Difference between C++ and Go :

1.It is an object oriented programming language.It is a procedural programming language.
2.It uses true, false and bool.It has logical operators instead of boolean.
3.It has support for inheritance.It has no support for inheritance.
4.It has support for class with constructors.It has no support for class with constructors.
5.It has do-while and while statements.It has no do-while or while statements.
6.It supports function overloading.It has no support for function overloading.
7.It is open source project 2.0.It is licensed under the BSD license.
8.It support Parametric polymorphism which is checked at compile time.It does not support Polymorphism.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.


My Personal Notes arrow_drop_up
Recommended Articles
Page :