visual studio 2010 beta 2 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Visual Studio 2010 Beta 2 PowerPoint Presentation
Download Presentation
Visual Studio 2010 Beta 2

Loading in 2 Seconds...

play fullscreen
1 / 23

Visual Studio 2010 Beta 2 - PowerPoint PPT Presentation


  • 103 Views
  • Uploaded on

Visual Studio 2010 Beta 2. About Me. Microsoft MVP Intel Blogger TechEd Israel, TechEd Europe Expert C++ Book http://AsyncOp.com http://Asaf.Shelly.co.il. Task Parallel Library - TPL. .Net Framework 3.5 See TechEd 2008 VS2010 with .Net 4.0 Language Extensions Lambda Expressions

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Visual Studio 2010 Beta 2' - marnin


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
about me
About Me
  • Microsoft MVP
  • Intel Blogger
  • TechEd Israel, TechEd Europe
  • Expert C++ Book
  • http://AsyncOp.com
  • http://Asaf.Shelly.co.il
task parallel library tpl
Task Parallel Library - TPL
  • .Net Framework 3.5
  • See TechEd 2008
  • VS2010 with .Net 4.0
  • Language Extensions
  • Lambda Expressions
  • C#, VB, F#, C++
from for to parallel for
From for to Parallel.For

for (inti=0; i<100; i++)

{

int x = i + i;

}

Parallel.For(0, 100, i =>

{

int x = i + i;

});

c parallel for
C++ parallel_for

parallel_for(0, 100, [&] i

{

int x = i + i;

});

visual studio 2010
Visual Studio 2010
  • Multi-Core Programming
  • Tasks
  • Agents
  • Parallel Loops
  • Parallel Algorithms
  • Parallel Replacement for STL
  • Seamless Task Usage
task oriented design
Task Oriented Design

Open

Scan

Scan

Scan

Scan

Scan

Scan

Parallel Extensions Loop

Modify

Modify

Parallel Extensions Loop

Write

vs2010 demo
VS2010 Demo

C# Parallel.For

keep an eye for
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.
vs2010 demo1
VS2010 Demo

C++ Parallel_For

vs2010 demo2
VS2010 Demo

Understanding Lambda and parallel_for

visual studio parallel debugger
Visual Studio Parallel Debugger
  • Parallel Task List
  • Parallel Task Stack
  • Built-in Profiler
slide14

Integrated Tooling

Programming Models

Programming Models

PLINQ

Parallel

Debugger Toolwindows

Task Parallel

Library

Parallel Pattern Library

Agents

Library

Data Structures

Concurrency Runtime

Concurrency Runtime

Data Structures

Task Scheduler

Profiler Concurrency

Analysis

ThreadPool

Task Scheduler

Resource Manager

Resource Manager

Operating System

Threads

Key:

Managed Library

Native Library

Tools

advanced parallel in vs2010
Advanced Parallel In VS2010
  • Agents – Resource Owners
  • Task Groups
  • Task Cancellation
  • Task Cleanup (CancelIo)
vs2010 demo3
VS2010 Demo

New F# Application

hints for the future
Hints for the future
  • 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
a bit nostalgia
A bit nostalgia
  • TechEd 2008 Israel
do we really want parallel code
Do we really want Parallel Code?

2005

2007

2008

2010

Do users even care?

Parallel Computing

Vs.

Classic Design

change in mindset
Change In Mindset

Everything is stopped. Waiting for the photographer

Everyone is working independently

change in mindset1
Change In Mindset

Developers are writing functions

Developers are managing tasks

change in mindset2
Change In Mindset

If you can't Adapt

You are left behind

If you can't Adapt

You are left behind

Doing things the way we always have

Things are going to be different