Today we are releasing Dart SDK 1.0, an open source cross-browser tool for developing web applications. For two years, since we introduced Dart, we worked closely with the first language developers to develop the project and expand the community. This release marks the transition of Dart to the finished product for web developers.
Dart SDK includes everything you need to develop structured web applications: a simple and powerful programming language, reliable tools and rich basic libraries. Together, these tools can help make your workflow easier, faster, and more scalable when your projects grow to full-fledged web applications.
')
The SDK includes a light but powerful editor, with the option of code completion, refactoring, the transition to definitions, a debugging function, prompts, warnings, and much more. The SDK also offers an edit / refresh loop with Dartium, a custom version of Chromium with a native Dart VM. Outside of the browser, Dart VM can also be used for asynchronous computing on the user side.
To run the code in modern browsers there is a dart2js translator. The performance of the generated code has improved significantly since our first release and in many cases turned out to be almost equal to the native JavaScript code. According to the DeltaBlue benchmark, the generated code runs even faster than JavaScript. The size of the output code is also significantly reduced. Generated javascript for game Pop, Pop, Win! was 40% less than a year ago. VM performance continues to improve, now it’s 42% to 130% faster than native JavaScript running in V8 (depending on baseline).
Dart SDK also has a package manager, with over 500 community packages. Such as AngularDart and polymer.dart, which serve as high-level foundations for building web applications. Dart developers can also continue to use their favorite JavaScript libraries with Dart.
In the future, the Dart team will be engaged in improving Dartium, increasing productivity and developing the platform. In particular, the change of core technologies (Google Chrome is an example translator ) for backward compatibility.
Source: https://habr.com/ru/post/202340/
All Articles