Finally, Google makes its contribution apart from “www” after its yet another linux distro Google Chrome OS. This time in language space. Its name is “Go”.
Its released for Linux and Mac only. After downloading the source from https://go.googlecode.com/hg, building the packages and set some environment variables (guide @ http://golang.org/doc/install.html), tried a small sample which greets the arg(0) given from console.
The syntax is neither smart nor friendlier at my first sight. Seems it is a mix of JavaScript, Java and ofcourse, C++. For each and every compilation you need to specify target machine architecture, 6g – for AMD, 8g – for 386.
See the following sample hello,
1 2 3 4 5 6 7 8 9 10 11 12 |
|
After the compilation with 8g, invoke the linker 8l and generate the executable (normally 8.out). Since I did not evaluate this language at some level and did not read its architecture, I could not give any comments of this early stage compiler. However, at my first sight,
GO = Neither C# Nor Ruby