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)}');

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s