Social Icons

Thursday, August 9, 2018

Dart 2.0: Google's programming language officially comes out in stable release



Anticipated since February 2018, when Google announced the release of version 2 of its Dart Web programming language as a major version and optimized only for client-side development for the Web and mobile, Dart 2 is officially available since August 6, 2018. Google predicted at the Dart 2 announcement last February that the release not only included the attributes necessary for a modern, versatile language, but also that customer-side development with Dart was productive, fast, accessible, responsive.

In the presentation of the final version of Dart 2 that is now immediately available, Google insists on productivity, performance and scalability. Many improvements have been made, some of which are breakthrough changes with previous versions. In addition, the Web Dart platform has been rewritten. Google qualifies this official Dart revival release as a mainstream language for web and mobile developers.

This release could allow a quick release of Flutter from its beta version. Indeed, Flutter, Google's multiplatform application development kit is written in Dart, which it takes advantage of preliminary versions of the SDK for several months already. Dart is also one of the main languages ​​used in the development of Fuchsia OS, the operating system of Google that should replace Chrome OS and Android.

Dart 2 focuses on speed of development, enhanced user experiences, and powerful tools that enable quick identification and debugging of errors, while providing a quick code of execution.

According to Google, the use of Dart is growing externally. The Sass style sheet preprocessor has recently been rewritten to Dart to make it faster, more portable and easier to write, according to Kevin Moore, Product Manager at Google, working on Dart. Google also uses Dart, internally, for web development. "Internally, Dart is one of the few languages ​​Google uses for developing Web applications, with millions of lines of code coming from dozens of different projects, including Google Ads, Google Shopping, and our own infrastructure teams. internal. "

So let's move on to some improvements that Google has announced to have made to the stable version of Dart 2. Several improvements are made to Dart 2. Among others:

A stronger type system

Dart has been adapted to extremely large applications. This gives it, from now on, the ability to detect a large class of problems in applications during analysis and compilation well before they are executed by users. By including run-time checks, Dart 2 can detect type errors. "With Dart 2, you can not enter a state where an expression gives a value that does not match the static type of the expression. This means you can scale your code base to millions of rows, undertake large refactoring projects, and deploy your code with confidence. "

Dart 2 improves the working conditions of the developer

Indeed, Dart 2 allows, for example, to create an instance of a class without the keywords "new" and "const" which become, from now on, optional. The advantage that this improvement brings is to make the code more readable, less cumbersome and easier to type.

Web applications at the heart of Dart 2

"In fact, most Google Dart developments are for Web applications. One of the most important is Google Ads, which feeds billions of dollars from the Web economy. "

In addition to libraries that provide access to the browser APIs provided by the Dart SDK core, Dart 2 supports the creation of more complex Web applications. This is made possible thanks to AngularDart 5 supplied with Dart 2.

Dart 2 improves the amount of code that is processed when the page loads, significantly reducing web page interactivity. 100 new classes, including date, time and a menu of various other components are accessible for web development.

Dart is now compiled in JavaScript

Dart 2 makes language a first-class JavaScript compiled language that introduces excellent performance performance characteristics for Web and mobile developers. Dart's Web tools now include a 100% JavaScript development model with two complementary JavaScript compilers. "With Dart 2, our Web tools integrate a 100% JavaScript development model with two complementary JavaScript compilers. The development compiler, dartdevc, provides fast incremental compilation while generating JavaScript code that is easy to read and debug. Said Kevin Moore.

To name just these advantages. The publication of this so-called stable version raises some debates in the field of developers. Indeed, one of the debates concerns non-nullable types. Some people wonder why bring so much improvement to achieve a stable version without adding the non-nullable types. However, Google is apparently already working on it for an upcoming release.

Source: Kevin Moore

No comments:

Post a Comment

Category Of Mobile Courses

Actualités (644) Adsense (1) Affiliation (1) Algebraic Topology (2) Algorithmic (1) all-news (30) Android (5) Android App (8) Android app without code (4) Android Apps (195) Android Development (4) Android download (2) Android OS (3) AngularJS (1) Automata theory and formal language (5) C programming (5) Category and Functor (8) CMS (3) Computer Glossary (18) Create Mobile App With Ionic Framework (2) CSS (2) CSS-Cascading-Style-Sheets (4) Developpement Java (13) Differential Geometry (1) Django-Python-Framework (8) dropshiping (26) Earn Money by Internet (4) Emplois (23) Framework php (2) Fraud (2) HTML (7) Java For Beginners (10) Javascript (12) Kotlin Programming Language (8) Kotlin For Mobile Android (1) Linux Download (2) Marketing (5) Mobile (3) Mobile Courses (4) Mobile Marketing (4) MoneyGram (1) News (721) Node.js (5) Open Source (1) Photoshop (1) Protect Computer (1) Python (35) Python BeautifulSoup (1) Python For Data Science (2) Python-Books (6) Python-DVD-Training (1) Python-Exercises (175) Python-Framework (1) Python-IDE (1) Python-Modules (1) Python-pdf (2) Python-pyQt (1) Référencement (2) Script PHP (2) Security (6) SEO (1) Snipping Tool: Faq (1) Social Networks (1) Source Code (1) Statistics With SPSS (2) Surveillance Software (1) Travail à domicile (6) Tutoriels php en vidéos (2) Tutoriels-MySql (6) tutoriels-php (19) Utilitaires (1) VPS (1) Web Hosting (1) Webcam (1) Webmarketing (11) Western Union (1) Windows 10 (1) Windows 7 (4) Windows 7 Faq (2) Windows 8 (1) Windows Accessories (1) Windows Download (8) Windows Drivers (1) Windows Fonts (1) Windows Power Shell (2) Windows Registry (2) Windows Security (18) Windows Software (2) Windows Spyware (2) Windows utilities (3) Windows Virus (2) Windows Vista (3) Windows Wireless (1) Windows xp (1) Wordpress (1)
 

Sample text

Sample Text

 
Blogger Templates