“Oh, and by the way we’re launching our own programming language …” This is the latest news coming from Google today after a tornado of announcement last week: Acquisition of Admob and Gizmo5, new personal dashboards, free WiFi in US airport during holidays (Hey, Yahoo gives free Wifi too !), lower price of online storage etc. It looks like Go comes from an 20% time project R&D project and is becoming today a project opened to a broad community with formal support from Google. Here are its major attributes:
- Compiled language very close to C but with some inheritance possibilities.
- Offer a better way to program for multicore processors based on CSP (Communicating Sequential Processes). It’s something you can find in language like Occom and Erlang. It’s probably very different from Grand Central Dispatch but offering a better way to take advantage of multicore is definitely a hot topic right now.
- Will offer faster compilation time by handling dependency between modules in a very simple way (can’t be worse than header file in ‘C’ …)
- Interestingly enough, they’ve provided compiler support for ARM processors. It’s worth noticing that ARM processors are the dominant kind in the mobile-phone market and as we know, Google is becoming a clear player with Android. Go softwares will be able to run on Android.
Pike, who is one of the lead software engineer for the project declared that: “I don’t think we’ll replace anything, we’re just putting another player into the arena.” … You will draw your own conclusion but I think Go is the tree which hides the forest. And another smart move from Google … Where will they stop ? As usual, Google has release a one hour long presentation about Go. You can watch it bellow. If you want to write your first “hello world” program in Go, you can check out their Go Tutorial. ArsTechnica has also a good article about Go.