Difference between revisions of "Go on RPi"

From eLinux.org
Jump to: navigation, search
(Created page with "Go is potentially an exciting language to use on the Pi. Its compiler runs very fast and the programs it produces will be nearly as fast as C/C++. It's an easy language to lea...")
 
Line 1: Line 1:
Go is potentially an exciting language to use on the Pi. Its compiler runs very fast and the programs it produces will be nearly as fast as C/C++. It's an easy language to learn for anyone used to C, C++, Java etc. But more importantly though, its concurrency model is very well suited to writing controller programs, so Go should be a good choice for those using the GPIO features. It has a clean new standard API that makes it easier than many of the alternatives for beginners to write web applications, for example.
+
Go is potentially an exciting language to use on the Pi. Its compiler runs very fast and the programs it produces will be nearly as fast as C/C++. It's an easy language to learn for anyone used to C, C++, Java etc. It has a clean new standard API that makes it easier than many of the alternatives for beginners to write web applications, for example. But more importantly though, its concurrency model is very well suited to writing controller programs, so Go should be a good choice for those using the GPIO features.
  
 
== Installation ==
 
== Installation ==

Revision as of 11:36, 1 April 2013

Go is potentially an exciting language to use on the Pi. Its compiler runs very fast and the programs it produces will be nearly as fast as C/C++. It's an easy language to learn for anyone used to C, C++, Java etc. It has a clean new standard API that makes it easier than many of the alternatives for beginners to write web applications, for example. But more importantly though, its concurrency model is very well suited to writing controller programs, so Go should be a good choice for those using the GPIO features.

Installation

For those using Raspbian on their Pi, building Go from source is the current route. This is quite easy but a bit time-consuming (allow about an hour). Here are two alternatives: