Presentation is loading. Please wait.

Presentation is loading. Please wait.

About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe Expert C++ Book

Similar presentations


Presentation on theme: "About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe Expert C++ Book"— Presentation transcript:

1

2 About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe Expert C++ Book http://AsyncOp.com http://Asaf.Shelly.co.il

3 Task Parallel Library - TPL.Net Framework 3.5 See TechEd 2008 VS2010 with.Net 4.0 Language Extensions Lambda Expressions C#, VB, F#, C++

4 From for to Parallel.For for (int i=0; i<100; i++) { int x = i + i; } Parallel.For(0, 100, i => { int x = i + i; });

5 C++ parallel_for parallel_for(0, 100, [&] i { int x = i + i; });

6 Visual Studio 2010 Multi-Core Programming Tasks Agents Parallel Loops Parallel Algorithms Parallel Replacement for STL Seamless Task Usage

7 Task Oriented Design Modify Write Open Modify Scan

8 PLINQ – Parallel LINQ

9 VS2010 Demo

10 Keep an eye for… Shared are Globals Parallel Loops are not loops Define data as Loop internal Race Conditions are still here Locks!! I/O – Disk, Network, etc.

11 VS2010 Demo

12

13 Visual Studio Parallel Debugger Parallel Task List Parallel Task Stack Built-in Profiler

14 Parallel Pattern Library Resource Manager Task Scheduler Task Parallel Library Task Parallel Library PLINQ Managed Library Native Library Key: Threads Operating System Concurrency Runtime Programming Models Agents Library Agents Library ThreadPool Task Scheduler Resource Manager Data Structures Integrated Tooling Tools Parallel Debugger Toolwindows Parallel Debugger Toolwindows Profiler Concurrency Analysis Profiler Concurrency Analysis Programming Models Concurrency Runtime

15 Advanced Parallel In VS2010 Agents – Resource Owners Task Groups Task Cancellation Task Cleanup (CancelIo)

16 VS2010 Demo

17 Hints for the future http://msdn.microsoft.com/en- us/devlabs/dd795202.aspx http://msdn.microsoft.com/en- us/devlabs/dd795202.aspx AXUM – Language for parallel computing STM.Net - Software Transactional Memory for concurrent memory separation Spec Explorer – Graphical analysis of software behavior … and more

18 A bit nostalgia TechEd 2008 Israel

19 Do we really want Parallel Code? Do users even care? 2005 2007 2008 2010

20 Change In Mindset Everything is stopped. Waiting for the photographer Everyone is working independently

21 Developers are writing functions Developers are managing tasks

22 Doing things the way we always have Things are going to be different

23


Download ppt "About Me Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe Expert C++ Book"

Similar presentations


Ads by Google