"I've never felt as productive as I have working with Go," said Rob Pike, a principal engineer at Google.
Go is the second programming language Google has released this year. In July, the company released Simple, a BASIC dialect for developing Android applications.
Pike says Go's goal is to serve as a systems language, in the way that C++ or C does today.
"It's fast for development but it also is a true compiled language," he explained. "We're opening sourcing it now because we think it's reached the point of being fun and useful and powerful."
Go began in 2007 as a group 20% project -- Google allows its workers to spend 20% of their time pursuing projects outside of their job responsibilities. In addition to Pike, contributors include Google engineers Robert Griesemer, Ken Thompson, Ian Taylor, and Russ Cox.
Compiled Go code runs at close to the speed of C, says Pike, adding that compilation happens almost instantly. "It's like using an interactive language," he explained.
Existing languages haven't been optimized for multi-core processors or massive scaling. Pike says that Go was conceived as a language for the kinds of programs written by Google engineers.
It's not intended for beginners, but it's also not terribly difficult to learn. It's object-oriented and boasts features like true closures and reflection.
Pike compares Go to Java in terms of its learning curve. "It's probably around the same level as Java," he said. "If people can learn Java out of the box, they shouldn't have too much trouble learning Go."
One reason for releasing Go as an open source project is to provide the open source community with the opportunity to create of better tools for using the language, like a plug-in for the Eclipse Integrated Development Environment (IDE). At present, there's no IDE support for Go.
Go has not played a role in the development of any of Google's publicly facing Web applications so far. But Google has several internal projects developed that were created using the language. "We have some cool demos," Pike said.
Pike says it's too early to say whether Go will play a part in Google's forthcoming Chrome OS, but he adds that Go does work with Native Client, Google's open-source technology for running native code in Web applications.
"Go has properties that make it really nice for running inside the browser for your apps," he said.
Go has two compilers at the moment, Gccgo, which relies on the GCC as a back-end, and a suite of compilers (6g and 8g) for 64-bit x86 and 32-bit x86 machines respectively. Support for ARM chips and Android devices is being worked on. "The problem with Android phones is we have don't have a [floating point unit]," said Pike.
How Enterprises Are Attacking the IT Security EnterpriseTo learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Digital Transformation Myths & TruthsTransformation is on every IT organization's to-do list, but effectively transforming IT means a major shift in technology as well as business models and culture. In this IT Trend Report, we examine some of the misconceptions of digital transformation and look at steps you can take to succeed technically and culturally.