Google Releases Dart 2.5: Code Completion through Machine Learning

The latest version of Googles C-Alternative, Go 1.13, is barely released, as the JavaScript derivative of the Internet giant follows: Dart 2.5 is here! The highlights of the release are two technical previews. The first is the Foreign Function Interface ( dart:ffi ) for calling C code directly from darts. The second is for code completion supported by machine learning.

While the programming language Go enjoys continued popularity, darts is still more of a niche product. In the TIOBE index , the language is ranked 24th (in comparison: Go in 16th place) and in the PYPL index the language does not occur in the first 23 places.

Nevertheless, Dart may experience a minor renaissance, as the Flutter framework (just released in version 1.9) is becoming increasingly popular in app development. Dart could benefit from that soon. Until then, the Google probably worked mainly on making the SDK of the language as possible perform better.

Dart 2.5: This is new

Along with some updates, Dart 2.5 introduces a full technical preview of two completely new features. To help developers write flutter and dart apps, Dart 2.5 gets a preview of a new code completion system. The new code system uses components from the field of machine learning. Based on TensorFlow Lite and the many open source dart repositories on GitHub , this new code completion system attempts to show the most relevant suggestions first, rather than simply listing all options alphabetically.

Dart 2.5: This is new

The second function, called Foreign Function Interface , will be particularly interesting for developers who are familiar with low-level languages. With this preview, code written in C can be called by Dart and Flutter. In this way, an app can access powerful system APIs and libraries in C for desktop platforms and the Android NDK.

Additional Information

In addition to the new features, some improvements have been added. With the new update, Dart now offers further options for defining constant expressions. This includes the ability to use casts and collection controls and collection features introduced in Dart 2.3 . While Dart has long supported the creation of constant variables and values, constant expressions have been rather limited so far.

All further changes and information in detail can be found in the release notes .

Recent Articles

5 tips for effective remote pair programming

Home office is a challenge where people work and communicate closely together. Pair programming, i.e. working together on a source code, also lives from...

What are the Reasons You Should Play Online Bingo?

Online bingo is fast becoming popular among the masses. It uses unique bingo software to bring fun to you without you having to go somewhere to...

Most in-demand IT jobs from last decade

Uber for travel, Netflix for leisure and Google for everything is the ideal routine that we all wish to follow, of course with Instagram...

The finest text editor for professional bloggers

It is a fact that blogs have replaced books and magazines due to increasing popularity of the online world. Serious readers subscribe to blogs...

Angular 9 final release released

Angular 9 final is here! The new version was released a little late. Ivy is of course one of the new features, but that's...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here