Google Go: An Inside Look at Its Advanced Features

By Jeff Cogswell  |  Posted 2012-11-05 Print this article Print
Go Looks Like Another C

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.


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.


Submit a Comment

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

Rocket Fuel