📜 ⬆️ ⬇️

Dart 1.1 is 25% faster, caught up with idiomatic JavaScript and is now suitable for servers

Two months ago, Google released the first stable version of the programming language Dart 1.0 , which is positioned as an alternative to JavaScript. For all its simplicity for writing small scripts, using Dart, you can create complex modular web applications, use libraries, debuggers, code editors, and other tools. Web development becomes easier and more convenient.

On January 16, a new version of Dart 1.1 was officially introduced with an increased speed of execution of compiled JavaScript code. For example, in the Richards test, performance increased by 25% compared to the first version.



Performance in the newer FluidMotion test has doubled since November.
')


Dart2js now generates code that runs in tests no worse than idiomatic JavaScript, and in some places even better.

“While the focus is on using Dart in browser applications, there has been a growing interest in its use on servers,” the developers write. - In the new release, we present a number of improvements for the server side, including support for large files, copying files, process signal handlers and outputting information to the console. This version also supports UDP. With its help, for example, you can write more effective applications for broadcasting multimedia content. ”

It has become more convenient to work with the code editor Dart Editor: debugging, code completion and help tips have been improved.

See the modified Dart language specifications here . Added articles on command line applications , Dart-Javascript compatibility and streams .

Source: https://habr.com/ru/post/209696/


All Articles