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 all over — user interaction, network access, file I/O. Dart simplifies and enhances these situations with the one.9 release,” a Dart News & Updates journal post aforesaid late last week. Asynchronous programming offers performance edges over ancient multithreading, though it will introduce its own complexities, university analysis concludes.
Version 1.9 conjointly options totally enabled enum (enumerated types), giving a category to represent a set range of values. Code analysis gets a lift, running out of method in day and giving higher hinting, and also the re-creation includes AN improved formatter. The core library in Dart one.9 includes a new model for shared server sockets, with no want for socket reference.
More News :- InfoWorld