Dart is a new class-based programming language for creating structured web applications. Developed with the goals of simplicity, efficiency, and scalability, the Dart language combines powerful new language features with familiar language constructs into a clear, readable syntax.
Google has launched a browser called Dartium which having a VM(Virtual machine) to parse and exhicute Datr coding.
Advantage of Dart
· Java script having some problems of security. Google hoping that the security problem will no more holding the hand of Dart.
So these are the reason to get popularity of Dart.
Features of Dart
Classes and interfaces provide a well understood mechanism for efficiently defining APIs. These constructs enable encapsulation and reuse of methods and data.
Dart programmers can optionally add static types to their code. Depending on programmer preference and stage of application development, the code can migrate from a simple, untyped experimental prototype to a complex, modular application with typing. Because types state programmer intent, less documentation is required to explain what is happening in the code, and type-checking tools can be used for debugging.
Developers can create and use libraries that are guaranteed not to change during runtime. Independently developed pieces of code can therefore rely on shared libraries.
Dart will include a rich set of execution environments, libraries, and development tools built to support the language. These tools will enable productive and dynamic development, including edit-and-continue debugging and beyond—up to a style where you program an application outline, run it, and fill in the blanks as you run.
Some example code of Dart language
Hello world in Dart.
How to run Dart.
You can run Dart code various ways.
2) Use Dartbord to write ,modify and execute program
3) You can download VM and can run in your computer. But Still now google not lunched VM for Computer.
New MIME type
You will be able to embed a Dart program directly on an HTML page, or you will be able to use a #import or #source statement to pull in external files. Here is the proposed new MIME type, “application/dart”:
Element element = document.getElementById('message');
element.innerHTML = 'Hello from Dart';
Google’s Dartium browser, nickname of Cromium + Dart VM
Google also inspiring Microsoft ,Mozilla ,Netscape and opera to incorporate there VM of there browser .
Google also giving warning that ,Dart browser is not fully stable and advising that not to use it as a primary version.
You can download a dartium for Mac and Linux from following link
Nice Blog, When i was read this blog i learnt new things & its truly have well stuff related to developing technology, Thank you for sharing this blog.ReplyDelete
iPhone app training course in bangalore
iPhone job oriented course in bangalore