DART : An Overview
What is dart ?
Dart is a programming language designed by Lars Bak and Kasper Lund and developed by Google.It can be used to develop web and mobile apps as well as server and desktop applications.
Dart is an object-oriented, class-based, garbage-collected language with C-style syntax.
It can compile to machine code, JavaScript.
History of Dart :
Dart was first introduced in October 2010 at the GOTO conference held in Aarhus, Denmark.
Dart was not standardized until July of 2014. but the first edition was greatly approved by Ecma International and in December 2014, the second edition of Dart’s specification was approved by Ecma International yet again.
Dartc became the first compiler to use Dart through JavaScript. Continuing the timeline, Frog became the second compiler written in Dart but had some complications with completely compiling codes. Fast-forwarding to today, the third compiler or known as dart2js, is a compiler written in Dart that is still used to this day.
First way is Dart Native that allows Dart to run on mobile, desktop, and server applications.it compiles the machine code.
Second way Dart code can be run is through the Dart Web.it compiled into code written in JavaScript through DartWeb.
When Dart was first developed, it was not widely used.
However, it might be on the upswing thanks to the emergence of Flutter, Google’s UI framework for building native interfaces in iOS and Android. Now Dart is one of the most in-demand programming languages.
领英推荐
Features of Dart :
Why do we need Dart ?
Dart replace Javascript :
Dart does not replace Javascript.
But Dart can be used as a substitute for Javascript.since Dart code compiles to native code or Javascript code.
Dart vs Javascript :