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
medium

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

Angular 9 Next Versions: Ivy, Bazel and more

Angular 9 next versions are here. Besides updates to Ivy, the update includes three features for the Language Service and Service Worker and changes...

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!...

Laravel 6.0 is here: Support for Serverless Platform Laravel Vapor

A new update is available for the framework Laravel. Laravel 6.0 is compatible with Laravel Vapor, a serverless deployment platform. The development team has...

Microsoft’s FaaS service Azure Functions: Now with Python support

Azure Functions has received support for Python: Microsoft's FaaS service can host Python workloads for data science, machine learning, and more. So far, the...

On the way to Angular 9: Three bugfixes in Angular 9

With Angular 9.0.0-next.1 there is a second Next-Release available for Angular 9, which can now be tested. The number of changes to the version...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here