Introduced in Visual Studio 2005, Code Snippets allow you to quickly insert reusable blocks of code into your project. For example, if you want to quickly write a for loop in C#, you can simply type "for" into your code file, and IntelliSense shows you the "for" code snippet:
(image)
Now you press the tab key twice, and ...
Consider a simplified version of Luke Hoban's LINQ ray tracervar Xs = Enumerable.Range(1, screenWidth);var Ys = Enumerable.Range(1, screenHeight); var sequentialQuery = from x in Xsfrom y in Ysselect new { X = x, Y = y, Color = TraceRay(x, y) }; If the screen width is much larger than the screen height, we would choose to...
From time to time, we get a question about whether we intend for Parallel Extensions to target Silverlight. The simple answer is: Not Yet.Here’s a more complete answer: Not for Silverlight 2.0, at least. Rich Lander from the CLR team described the Silverlight compatibility story very nicely over on his blog. I will ...
Have you found any bugs, unknown issues (vs. known issues), or any wish list items? Go to our Connect site, sign up for the Parallel Extensions to the .NET Framework connection, and start giving us direct feedback. While the blog comments and forums are a great way to raise concerns, ask how-to questions, and engage in a ...
There are some great discussions going on over at the Parallel Extensions forum on MSDN. Download the CTP, try out the bits, head on over to the forums, and get involved! We'd love to hear from you...
If you look in the PLINQ samples in the December 2007 CTP, you'll see a parallel implementation of Luke Hoban's LINQ ray tracer. The sample parallelizes the ray tracer by changing very few lines of code. Luke's original query started as follows:
from y in Enumerable.Range(0, screenHeight)For our sample, we've changed that to...
There's a new Parallel Computing developer center on MSDN:
"Microsoft’s Parallel Computing developer center is dedicated to providing information, ideas, community, and technology to developers to make it easier to write programs that perform and scale well on parallel hardware." Check it out! There are already a plethora of ...
I posted about changes we've made to the Task Parallel Library since we published the MSDN Magazine article outlining its design. In this post, I'll do the same thing for PLINQ. Most of the October 2007 article on PLINQ is still accurate. After all, PLINQ is largely an implementation of the .NET Standard Query Operators...
Back in the October 2007 issue of MSDN Magazine, we published an article on the beginning stages of what has become the Task Parallel Library (TPL) that's part of the Parallel Extensions to the .NET Framework. While the core of the library and the principles behind it have remained the same, as with any piece of software in the ...
Community Technology Preview (CTP) releases from Microsoft typically provide early looks at the technologies a team is working on. Frequently, CTP quality is nowhere near what folks might expect from Beta releases and the like, and that's ok. The idea is to give all of you in the community a look at what we're working on, giving ...