Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Go Programming Articles
Page 86 of 86
Best Way to Install Go 1.7 on Ubuntu
Go is a free and open source programming language created by Google in 2007. It supplies convenient to construct simple, nontoxic, and effective programs. This language is designed for writing on servers. This article explains about ‘How to install Go 1.7 on Ubuntu’Installing Go Programming languageTo download Go language binary archive file, use the following command –$ wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gzThe sample output should be like this –--2016-12-29 10:49:44-- https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz Resolving storage.googleapis.com (storage.googleapis.com)... 216.58.197.48, 2404:6800:4007:807::2010 Connecting to storage.googleapis.com (storage.googleapis.com)|216.58.197.48|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 81618401 (78M) [application/x-gzip] Saving to: ‘go1.7.1.linux-amd64.tar.gz’ go1.7.1.linux-amd64 100%[===================>] 77.84M 5.98MB/s in 16s ...
Read MoreDifference between Goroutine and Thread in Golang.
GoroutineGoroutine is method/function which can be executed independently along with other goroutines. Every concurrent activity in Go language is generally terms as gorountine.ThreadThread is a lightweight process. It can be treated as a unit to execute a piece of code. Operating system manages the thread.Following are the important differences between Goroutine and Thread.Sr. No.KeyGoroutineThread1Managed ByGoroutine methods are managed by golang runtime.Thread are managed by operating systems.2Hardware dependencyGoroutine are independent to hardware.Thread are dependent on hardware.3Communication MediumGoroutines uses channels as communication medium.Thread have no easy communication medium.4LatencyGoroutines can commuicate with other routines with low latency.Thread as have no communication medium, communicate ...
Read More