"[The] advantages of asynchrony are you get more responsive UIs because your UI can do other stuff while it is waiting for the results of an asynchronous operation," Hejlsberg said. "But also in servers, you get better scalability because you can free up threads when they're not doing any work because they're waiting for asynchronous requests."
While existing asynchronous paradigms offer ways to work with I/O and other high-latency operations without blocking threads, current patterns can be difficult to understand and can complicate simple operations with callbacks and custom-exception handling. This can result in error-prone code, Somasegar said.
"With Async, our goal now is to make asynchronous programming far more approachable so asynchronous code is as easy to write and maintain as synchronous code. Making your code asynchronous should require only simple changes and should be possible to implement in a non-disruptive manner in your code," Somasegar said.
Language and framework enhancements from Microsoft will help developers harness asynchrony in C# and Visual Basic, Somasegar said.
This article, "Microsoft hails async programming for Visual Basic, C#," was originally published at InfoWorld.com. Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter.
Read more about developer world in InfoWorld's Developer World Channel.