Aviva Directory » Computers & Internet » Programming » Dart

Developed by the Google Chrome team, led by Lars Bak and Kasper Lund, Dart was announced in 2011 and released in 2013. Dart is sometimes referred to as DartLang.

Designed in the tradition of C, Dart code trans-compiles optionally into JavaScript. In order to run in mainstream web browsers, Dart requires a source-to-source compiler, such as the Dart2JS compiler, to JavaScript. Compiled as JavaScript, Dart code is compatible with every major browser. Written properly, Dart code can run faster than the equivalent code written in JavaScript.

Dart can also be run as a stand-alone code. The Dart Software Development Kit (SDK) ships with a stand-alone Dart virtual machine that allows Dart code to run in a command-line interface environment. Given that the language tools included in the Dart SDK are written largely in Dart, the stand-alone Dart VM is a critical part of the SDK. Dart ships with a complete standard library, so that programmers can write fully working system applications, such as custom web browsers.

Dart code can also be compiled ahead-of-time (AOT-compiled) into machine code. Applications built with Flutter, a mobile software development kit built with Dart, are deployed to app stores as AOT-compiled Dart code. Google introduced Flutter for native mobile application development on both the iOS and Android mobile platforms. Flutter is a mobile application SDK that includes framework, widgets, and tools that allow developers to build and deploy mobile apps written in Dart. Flutter is an open-source SDK that works with Firebase and other mobile app SDKs.

Dart is a purely object-oriented, class-based, optionally typed language. All of the values that a Dart program manipulates at runtime are objects, including such elementary data as numbers and Booleans. There are no exceptions.

The Dart SDK includes two Dart-to-JavaScript compilers. Dartdevc supports quick refresh cycles during development, and for the final version of an application, Dart2JS produces deployable JavaScript.

In 2011, Google released Dart Editor, which is an open-source program based on Eclipse, and used in Mac OS X, Windows, and Linux operating systems. In 2012, Google announced an Eclipse plugin for Dart development. However, in 2015, Google replaced its Dart Editor with the JetBrains IDE, which is currently the recommended IDE for the Dart programming language. Dart plugins are available for the IntelliJ IDEA, PhpStorm, and WebStorm, as well as for Sublime Text, Atom, Emacs, Vim, and Visual Studio Code.

In 2015, The Dart team created DartPad, a fully online editor that allows users to experiment with Dart application programming interfaces in their web browser. It supports syntax highlighting, code analysis, code completion, documentation, and HTML and CSS editing.

The Dart programming language is the focus of resources listed in this category. Any IDEs, editors, compilers, or other tools designed for use in Dart programming are appropriate topics for this category.



Recommended Resources

Search for Dart on Google or Bing