Nov 11 2009
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,
package main import ( "fmt"; // formatted stdin "flag"; // command line parser ) func main(){ flag.Parse(); fmt.Printf("hello," + flag.Arg(0) + "\n"); }
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
Mastan
Nov 30, 2009 @ 19:20:44
Hi Udooz,
so u dont like this… Thanks for share. I also looking so kind of stuffs about ‘go’.. how about F#?
PS: Hope you remember that you have written about design pattern in Tamil Computer, really enjoyed it. Thanks for it. unfortunately unable to read complete that article. Do u have that one in Tamil? if yes, please send me to .
Thanks
Mastan Oli
udooz
Jan 20, 2010 @ 07:32:15
Yes Mastan, Google follows Microsoft in the web. It plans “Go” is Google’s defacto for developing application on Google Chrome OS