DART : An Overview

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 :

  • Open source,
  • Platform independent,
  • Object Oriented,
  • Easy to learn,
  • Portability, etc.,

Why do we need Dart ?

  • Dart is getting popular in the programming community.
  • It’s used to build applications on a cross platform.
  • We can create server applications using dart.
  • In conclusion, we can create web apps, Mobile apps, Desktop apps.

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 :


要查看或添加评论,请登录

社区洞察

其他会员也浏览了