Google Go: An Inside Look at Its Advanced Features

 
 
By Jeff Cogswell  |  Posted 2012-11-05 Email Print this article Print
 
 
 
 
 
 
 
 

Since the formal release of Go version 1.0, the language has matured and allows for some powerful features. Included in the packages are full support for compression and encryption, native operating system support and more. One particularly important feature is the ability to target multiple cores and virtual cores through Go's support of "goroutines," which are similar in concept to coroutines. Using special functions, you can specify how many cores the scheduler will devote for the goroutines. You can even allocate all the cores, which will cause the outer code to halt until the scheduler allows it to continue. Additionally, the language supports features such as closure and functional programming. These two programming techniques have become popular in recent years in languages such as JavaScript, which in turn has made programmers expect it in other languages. While older, strongly typed languages don't offer easy support for closure and functional programming, Go provides them natively. With all this in mind, eWEEK takes an in-depth look at the advanced features of Google Go.

 
 
 

Go Looks Like Another C

The Go language looks like another C-based language, but from a programming perspective, it feels and works more like a modern dynamic language.

Go Looks Like Another C
 
 
 
 
 
 
 
 
 
 
 

Submit a Comment

Loading Comments...
 
Manage your Newsletters: Login   Register My Newsletters























 
 
 
 
 
 
 
 
 
Thanks for your registration, follow us on our social networks to keep up-to-date
Rocket Fuel