Google Releases Dart 1.1, Improves JavaScript Performance
Gabriel Roşu / 11 years ago
Google released its own JavaScript alternative, Dart, a couple of months ago, while claiming to be just as good if not better than the common JavaScript. While Dart is really good in its own V8 JavaScript engine, it did not perform as well when compiled with the help of its own dart2java tool in a normal JavaScript code. And since no browser do not use native Dart applications, it did not look so good.
But it seems that Google released a new version, Dart 1.1, which Google developer Seth Ladd states it fixed the performance problems with the converted JavaScript code. It now shows an increase of around 25% or more (depending on the benchmark) compared to previous code from Dart 1.0.
“Dart2js now generates JavaScript that performs as well as, if not better than, the idiomatic JavaScript equivalent,” Ladd wrote in his article.
Ladd also mentions that there is increasing interest in using Dart for server-side applications. The new Dart 1.1 comes with extra features, including support for large file, process signal handlers, file copy, as well as accessing the UDP networking protocol and terminal information, making it easier to write streaming media applications.
Furthermore, HTTP stack has been optimized, along with decrease in latency for various I/O operations. The Dart language spec as well as other documentation has also been updated to meet the new changes in the newer version.
Thank you The Register for providing us with this information