Google Dart upgrade hones in on asynchronous programming

See the original posting on JavaWorld

Google has released Dart 1.9, with a focus on asynchronous programming.

With the upgrade, familiar control flow features now can be used to manage complex asynchronous interactions. Version 1.9 features async methods and await expressions built from Dart’s Future API. A Future represents a potential value or error that will available at some time in the future, according to Dart API reference documentation.

“Asynchronous programming is everywhere — user interaction, network access, file I/O. Dart simplifies and enhances these scenarios with the 1.9 release,” a Dart News & Updates blog post said late last week. Asynchronous programming can offer performance benefits over traditional multithreading, although it can introduce its own complexities, university research concludes.

To read this article in full or to leave a comment, please click here