Asynchronous Programming for C++ Developers: PPL Tasks and Windows 8

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
The http://msdn.microsoft.com/en-us/library/dd492418.aspx" target="_blank Parallel Patterns Library (PPL) provides a task-based asynchrony model that can make working with asynchronous APIs much easier for C++ programmers. Asynchronous APIs are pervasive in the "Windows 8" Windows Runtime (WinRT). Potentially long-running operations—like file and network I/O—are typically exposed through some asynchronous pattern.

Here, we meet software engineer and ConCRT/PPL team member Genevieve Fernandes and ConCRT/PPL team member Rahul Patil (lead program manager— http://channel9.msdn.com/Blogs/Charles/Parallel-Computing-Platform-Asynchronous-Agents-for-Native-Code" target="_blank youve met him before ). The goal here is to explain how this stuff works and why its designed the way it is. This conversation includes whiteboarding and a code demo. Youll see how you can use C++/CX plus PPL Tasks to produce asynchronous operations that JavaScript or C#/VB can consume in very natural ways (from their perspectives) on "Windows 8." Watch and learn! http://blogs.msdn.com/b/nativeconcurrency/archive/2011/10/27/try-it-now-use-ppl-to-produce-windows-8-asynchronous-operations.aspx" target="_blank Get the latest PPL to experiment with writing asynchronous code for "Windows 8" Metro style applications. Dont forget to provide feedback to the PPL team! They want to hear from you, so please write some code and see if you find this comfortable/useful/etc.

See the http://channel9.msdn.com/Events/BUILD/BUILD2011?t=windows%2Bruntime" target="_blank BUILD sessions on WinRT to get more information about asynchrony in "Windows 8." <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:01a028b07e8c4a2ea7e29f910151f638

View the full article
 
Back
Top