Friday 5 June 2015

What is DART ???

By Ziuby

Dart is an open source web programming language developed by Google. The goal of Dart is "ultimately to replace JavaScript as the lingua franca of web development on the open web platform”. Dart relies on a source-to-source compiler to JavaScript. Dart was "designed to be easy to write development tools for, well-suited to modern app development, and capable of high-performance implementations."Stable version of dart releases on 14 December 2014.
Dart was designed to be easy to write development tools for, well-suited to modern app development, and capable of high-performance implementations.
Dart is a class based, single inheritance, object-oriented language with C-style syntax. It supports interfaces, abstract classes, reifiedgenerics, and optional typing. Static type annotations do not affect the runtime semantics of the code. Instead, the type annotations can provide documentation for tools like static checkers and dynamic run time checks.
Isn’t Dart a lot like JavaScript?
When compared to JavaScript, Dart aims to be faster, and more scalable to large programs.The Dart project thinks that JavaScript can use some changes for more productive software engineering, smarter editors and development environments, and web apps that are as beautiful and pleasing as the best client apps can be. On the other hand, Dart don’t think everything needs to change, and why change what isn’t broken?
Dart, like JavaScript, is a dynamically typed language. It adds optional type annotations to help you catch errors earlier. It takes out a few features of JavaScript, such as prototypes and the global object: this streamlines the VM, enables faster execution, and makes it easier to do code completion and refactoring.

                                                                 
Isn’t Dart a lot like Java?
Well, Java is statically typed, and Dart is dynamically typed. Dart has optional static type annotations, where in Java they are required. There are big differences in the nature of the two languages. But Dart is a curly-brace language, and it shares some keywords with Java, such as “extends” and “final”, so we can see why people make the comparison.
We can compare Dart with many languages but only comparison won’t improve language structure. Because every language has its own quality, they are improved according to developers prospective  and  faster execution of that.
There is lot more about Dart.
But still this is just a beginning of new web programming language.
Lets wait for more releases on DART.

No comments:

Post a Comment