Microsoft hails async programming for Visual Basic, C#

Visual Studio Async aims to make asynchronous programming more approachable so code is as easy to write and maintain as with synchronous code

By , InfoWorld |  Development, C#, Microsoft

Microsoft is fitting its Visual Basic and C# languages with an asynchronous programming model to help developers accommodate the growing complexity in applications.

With the release of its Visual Studio Async CTP (Community Technology Preview)  this week, the company is providing an example of an asynchronous programming pattern, said S. Somasegar, senior vice president of the Microsoft Developer Division, in a blog post.  Accessible for download at this website, Visual Studio Async CTP features a streamlined syntax for asynchronous development, extending Visual Studio 2010.

[ Also on InfoWorld: Microsoft pitched Windows Azure and Windows Phone 7 at its Professional Developers Conference. |  Keep up with the latest app dev news with the Developer World newsletter. ]

"Today, we are unveiling significant language and framework enhancements in C# and Visual Basic that enable developers to harness asynchrony, letting them retain the control flow from their synchronous code while developing responsive user interfaces and scalable web applications with greater ease," Somasegar said.

"Writing applications that effectively handle long latencies can be a daunting challenge.  As software applications grow more complex, more developers are building software that accesses remote resources, performs longer computations, and processes large data sets," Somasegar said. "Tasks we used to think of as being quick now may take orders of magnitude longer to complete or may never complete.  Without special care taken to manage conditions that may arise from these latencies, applications can become unresponsive or unable to scale.

"To accommodate these conditions, C# and VB are adopting a new asynchronous programming model," Somasegar said.

During a session at the Microsoft Professional Developers Conference in Redmond, Wash. on Thursday, Anders Hejlsberg, Microsoft Technical Fellow, discussed the company's intentions to add asynchrony to the next versions of the two languages.


Originally published on InfoWorld |  Click here to read the original story.
Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question
randomness