|By Maureen O'Gara||
|November 11, 2009 10:30 AM EST||
Ken Thompson (pictured) and Rob Pike, a couple of the revered old soldiers who wrote Unix, Plan 9 and Inferno at Bell Labs – and programming languages like B, without which C probably wouldn’t exist, and Limbo – have come up with an experimental new programming language called Go that Google, their current refuge, open sourced Tuesday under a BSD-style license.
If it catches on, it would be the first major systems language to emerge in a decade.
One of the small Go team compares it to Java, calling it “performant but garbage collected” and “vastly more enjoyable to code in.”
Go’s primary attribute appears to be that it’s fast. It reportedly compiles to machine code very quickly thanks to a couple of Plan 9-beholden compilers.
Google says “Go combines the development speed of working in a dynamic language like Python” – Google does dote on Python – “with the performance and safety of a compiled language like C or C++. Typical builds feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C.”
Go has been in the works for the last two years, but has only been a full-time project at Google since the middle of last year.
It was born, the Go team says, “out of frustration with existing languages and environments for systems programming. Programming had become too difficult and the choice of languages was partly to blame,” a statement that sounds very much like Ken Thompson.
“Go,” says one of the team’s FAQs, “is an attempt to combine the ease of programming of an interpreted, dynamically typed language with the efficiency and safety of a statically typed, compiled language. It also aims to be modern, with support for networked and multi-core computing. Finally, it is intended to be fast: it should take at most a few seconds to build a large executable on a single computer. To meet these goals required addressing a number of linguistic issues: an expressive but lightweight type system; concurrency and garbage collection; rigid dependency specification; and so on. These cannot be addressed well by libraries or tools; a new language was called for.”
Go descends from C in syntax and borrows declarations and packages from the Pascal/Modula/Oberon family and concurrency from Limbo, but it’s still a completely new language, its creators say, meant to escape the “bookkeeping, repetition and clerical work” of current languages as well as their “clutter and complexity” while still being “sophisticated.”
It’s object-oriented but without the type hierarchies.
Although it’s meant to make writing the servers and other software Google uses internally a lot easier, Go isn’t mature enough for large-scale production use yet. Its development team is experimenting with it as a candidate server environment and the server behind http://golang.org is a Go program.
Since Thompson’s involved, one would assume that the project’s called Go after the oriental board game that’s sort of like chess. He worked on Belle, the first chess program to get a master’s rating.
Nov. 24, 2014 09:00 AM EST Reads: 1,460
Nov. 24, 2014 09:00 AM EST Reads: 1,212
Nov. 23, 2014 07:30 PM EST Reads: 1,705
Nov. 23, 2014 12:00 PM EST Reads: 1,638
Nov. 23, 2014 07:45 AM EST Reads: 1,476
Nov. 22, 2014 10:00 PM EST Reads: 1,412
Nov. 22, 2014 05:30 PM EST Reads: 1,319
Nov. 22, 2014 05:30 PM EST Reads: 1,472
Nov. 21, 2014 09:15 PM EST Reads: 1,391
Nov. 21, 2014 08:00 PM EST Reads: 1,399
Nov. 21, 2014 08:00 PM EST Reads: 1,448
Nov. 21, 2014 07:00 PM EST Reads: 1,303
Nov. 20, 2014 09:15 PM EST Reads: 1,383
Nov. 20, 2014 06:00 PM EST Reads: 1,343
Nov. 20, 2014 01:00 PM EST Reads: 1,591
Nov. 20, 2014 12:30 PM EST Reads: 1,800
Nov. 18, 2014 09:00 PM EST Reads: 2,019
Nov. 18, 2014 08:15 PM EST Reads: 1,579
Nov. 18, 2014 01:30 PM EST Reads: 2,015
Nov. 13, 2014 05:00 AM EST Reads: 3,547