Google Dart ! Yet another programming language in horizon

Google announced a structured programming language which could run on top of vm or js run-time compiled. Any modern browser like Chrome, Safari 5+, Firefox 4+ will support as dart code can be translated to JavaScript. It supports classes, interface, optional types. The specs are still very early stage. The language will support both running in server side and client side. Google is also developing a cloud based IDE called Brightly. Google’s goal is to ultimately replace JavaScript. (^). The language originally was called Dash. The information initially leaked from internal Google email ^.

To find out more about Dart head over to Dart website. A sample code block looks like the following:

Sample code to calculate Fibonacci:

int fib(int n) {
if (n <= 1) return n;
return fib(n - 1) + fib(n - 2);

main() {
print('fib(20) = ${fib(20)}');