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...
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...
Software is headed for a fundamental change. Over the last 30 years, developers have relied on exponential growth in computing power in order to dream big. Your cool new application is too slow today? No problem, just wait two years and everyone will have computers that run twice as fast. But as Herb Sutter wrote, &...