What’s new in Google’s Dart language Credit: 15299

What’s new in Google’s Dart language

Google’s Dart language, once positioned a potential replacement for JavaScript in the browser, is being rebooted for client-side web and mobile development in Version 2 of the language. A beta version is now available.

Dart 2 features a strengthened type system, a cleaned-up syntax, and a rebuilt developer tool chain. Dart has a succinct syntax and can run on a VM with a just-in-time compiler, with the compiler enabling stateful, hot reload during mobile development.

Developers also gain from fast development cycles where code can be edited, compiled, and replaced in apps running on a device. Compiling code ahead of time provides fast startup, Google said.

Dart can be compiled to native code for ARM and x86 platforms. Google has used the language to build applications for iOS, Android, and the web.

Dart 2 features

Capabilities for client-side development in Dart 2 include:

  • Strong typing to catch bugs earlier, boost quality, and improve applications built by large teams.
  • Defining the UI as code so the need for context switching between a UI markup language and the programming language is reduced.

The language also has web-specific libraries such as dart:html and a full web framework.

Where to download Dart 2

You can try the beta of Dart 2 in Flutter by downloading it GitHub or via the Dart SDK.

IDG Insider

PREVIOUS ARTICLE

«Google touts 21 Android phones it recommends for business use

NEXT ARTICLE

Origin EON17-X review: This monster gaming laptop challenges high-end desktop PCs»
author_image
IDG Connect

IDG Connect tackles the tech stories that matter to you

Our Case Studies

IDG Connect delivers full creative solutions to meet all your demand generatlon needs. These cover the full scope of options, from customized content and lead delivery through to fully integrated campaigns.

images

Our Marketing Research

Our in-house analyst and editorial team create a range of insights for the global marketing community. These look at IT buying preferences, the latest soclal media trends and other zeitgeist topics.

images

Poll

Should the government regulate Artificial Intelligence?