Asynchronous Programming for C++ Developers: PPL Tasks and Windows 8
- Posted: Nov 10, 2011 at 12:50 PM
- 66,266 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
The 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—you've met him before). The goal here is to explain how this stuff works and why it's designed the way it is. This conversation includes whiteboarding and a code demo. You'll 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!
Get the latest PPL to experiment with writing asynchronous code for "Windows 8" Metro style applications. Don't 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 BUILD sessions on WinRT to get more information about asynchrony in "Windows 8."
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
'then' is the word !
Deja Vu? Looks very much like the async API model of the Javascript userland in webOS. Perhaps, not an uncommon thing after all, seeing the pattern is widely recognized.
Asynchrony jobs widely used modern programming. It's really useful to have this library in C++. We used it in java before and it was very happy experince at the client side.
Thanks for the video real educative to me.
Remove this comment
Remove this thread
close