Lably
Skip to content

Dart (programming language)

Programming language

  • 14 min read
  • 11 chapters

Related on Lably

Through Google, Web application and Mobile app

Dart is an object-oriented, class-based, garbage-collected language with C-style syntax. It can compile to machine code, JavaScript, or WebAssembly. It supports interfaces, mixins, abstract classes, reified generics and type inference. The latest version of Dart is 3.13.5 .

History

Dart was unveiled at the GOTO conference in Aarhus, Denmark, October 10–12, 2011. Lars Bak and Kasper Lund founded the project. Dart 1.0 was released on November 14, 2013.

Dart had a mixed reception at first. Some criticized the Dart initiative for fragmenting the web because of plans to include a Dart VM in Chrome. Those plans were dropped in 2015 with the Dart 1.9 release. Focus changed to compiling Dart code to JavaScript.

Dart 2.0 was released in August 2018 with language changes including a type system.

In November 2019, Dart 2.6 introduced a new extension, dart2native. This extended native compilation to the Linux, macOS, and Windows desktop platforms. Earlier developers could create new tools using only Android or iOS devices. With this extension, developers could deploy a program into self-contained executables. The Dart SDK doesn't need to be installed to run these self-contained executables. The Flutter toolkit integrates Dart, so it can compile on small services like backend support.

Dart 3.0 was released in May 2023 with changes to the type system to require sound null safety. This release included new features like records, patterns, and class modifiers.

Dart can compile to WebAssembly since version 3.4.

Sign in to keep reading

10 more chapters are free with a Lably account.

More in Computing and communication