Showing results for May 2009 - Page 2 of 3 - .NET Blog

May 26, 2009
Post comments count0
Post likes count1

Does Parallel.For use one Task per iteration?

Stephen Toub - MSFT
Stephen Toub - MSFT

In .NET 4, the new Parallel class provides For, ForEach, and Invoke methods for performing operations in parallel. One mental model that some folks use when thinking about Parallel.For is that it’s equivalent to running one System.Threading.Tasks.Task per iteration, e.g. that a loop like: Parallel.For(0, N, i => {   &n...

.NET Parallel Programming
May 22, 2009
Post comments count0
Post likes count0

.NET 4 Cancellation Framework

Mike Liddell
Mike Liddell

A very interesting addition to .NET 4 is a set of new types that specifically assist with building cancellation-aware applications and libraries. The new types enable rich scenarios for convenient and safe cancellation, and help simplify situations that used to be be difficult and error-prone and non-composable. The details of the new types are des...

.NET Parallel Programming
May 21, 2009
Post comments count0
Post likes count0

Tail Call Improvements in CLR 4

CLR Team
CLR Team

Now that .Net 4 Beta1 is out, you'll see a number of posts on this blog covering new CLR features in CLR 4. Grant Richins, a developer on our team, wrote a post on tail call improvements in CLR 4 at the CLR Code Generation blog. The post deals with JIT ETW Tracing in .Net 4 and specifically covers new ETW events exposed by the JIT. Prior ...

.NET
May 20, 2009
Post comments count2
Post likes count0

Samples for Parallel Programming with the .NET Framework 4

Stephen Toub - MSFT
Stephen Toub - MSFT

Along with the release of the .NET Framework 4 Beta 1, we've just published a slew of samples that demonstrate using Parallel Extensions in a variety of ways.  You can download these from Code Gallery at https://code.msdn.microsoft.com/ParExtSamples.These samples include raytracers, a sudoku game, an image colorization algorithm, solvers for t...

.NET Parallel Programming
May 20, 2009
Post comments count0
Post likes count0

.NET 4 MSDN documentation for parallelism

Stephen Toub - MSFT
Stephen Toub - MSFT

In addition to the Betas of Visual Studio 2010 and the .NET Framework 4 being available for download today, the MSDN documentation for .NET 4 Beta 1 is also available.  This includes quite a bit of useful information about the new parallelism constructs.  Here's a summary of the relevant material, with links: Related to this...

.NET Parallel Programming
May 20, 2009
Post comments count0
Post likes count0

.NET 4 Beta 1 is now available, with parallelism!

Stephen Toub - MSFT
Stephen Toub - MSFT

We’re very excited that the .NET Framework 4 Beta is now available for public download, as .NET 4 has Parallel Extensions built into its core. You can download the Betas for Visual Studio 2010 and .NET Framework 4 at https://msdn.microsoft.com/en-us/netframework/dd582936.aspx.For more information on what’s new in Beta 1 regarding concur...

.NET Parallel Programming
May 20, 2009
Post comments count0
Post likes count0

Visual Studio 2010 and ASP.Net 4.0 (Beta1)

Web Development Tools Microsoft
Web Development Tools Microsoft

The public release of Visual Studio 2010 Beta 1 is now available and can be downloaded here. This is one of the most compelling updates to Visual Studio we’ve seen in years.  The entire IDE has been refreshed with a new look and all the code editors including the HTML and ASPX editors have replaced with a new extensible editor based on WPF....

ASP.NET
May 19, 2009
Post comments count0
Post likes count0

Channel 9 Video – Vance Morrison: CLR Through the Years

CLR Team
CLR Team

Vance Morrison, a CLR architect, recently gave an interview to Channel 9 where he walks through the history of the CLR (he's been on our team since it's very beginning), the upcoming version, his favorite features in CLR v4, and what the future looks like. He also talks about concurrency (and the role that CLR plays), aspects of...

.NET
May 18, 2009
Post comments count0
Post likes count0

The Conditional Weak Table: Enabling Dynamic Object Properties

CLR Team
CLR Team

The Dynamic Language Runtime allows you to implement a dynamic language (such as Ruby or Python) on top of the CLR. There are a lot of challenges to making everything work right. One particularly difficult aspect was enabling Ruby to attach arbitrary "properties" to instanced .NET managed objects at runtime. If a Ruby developer sets an instance var...

.NET
May 16, 2009
Post comments count0
Post likes count0

Debugging Support for Tasks

Daniel Moth
Daniel Moth

Visual Studio 2010 has new debugger windows to support the Task-based programming model. Check out my blog post about the Parallel Tasks window.

.NET Parallel Programming